note 30498 added to function.ora-plogon
| From: | vnzshepper at hotmail dot com | Date: | Thu, 20 Mar 2003 10:24:54 +0000 |
| Subject: | note 30498 added to function.ora-plogon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45538@lists.php.net to get a copy of this message | ||
function open_conn($utilisateur, $passe)
{
global $connexion,$curs;
/*config.php contient le nom d'utilisateur $utilisateur et le mot de passe $passe*/
include "Include/config.php";
$connexion = ora_Plogon($utilisateur, $passe);
$curs = ora_open($connexion);
/*si la connexion s'est bien passé ora_open($connexion) revoit true sinon false*/
if ($curs == "false")
{
echo "<h2>Impossible d'établir la connexion avec l'utilisateur
$utilisateur</h2>";
}
else
{
ora_commiton($connexion);
}
}
--
http://www.php.net/manual/en/function.ora-plogon.php
http://master.php.net/manage/user-notes.php?action=edit+30498
http://master.php.net/manage/user-notes.php?action=delete+30498
http://master.php.net/manage/user-notes.php?action=reject+30498