note 3889 deleted from Ora_Logon by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Wed, 07 Mar 2001 12:26:53 +0000 |
| Subject: | note 3889 deleted from Ora_Logon by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11992@lists.php.net to get a copy of this message | ||
PROBLEM!!<br>
the function returns false on failure.<br>
Guess the password was wrong!<br>
Details about the error can be retrieved using the ora_error() and ora_errorcode()
functions.<br>
<b>BUT THE ora_error(FALSE) and ora_errorcode(FALSE) PRODUCE AN ERROR</b><br>
like<br><pre>
if ($conn = ora_logon("scott@oracle_sid", "ttiiggeerr"))
{
print "ok";
}
else
{
print "Error: " . ora_errorcode($conn);
}
</pre>