Function OCILogon().
| From: | Somsak RAKTHAI | Date: | Thu, 20 Dec 2001 11:09:33 +0000 |
| Subject: | Function OCILogon(). | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15137@lists.php.net to get a copy of this message | ||
Dear all,
I used PHP 4.1.0 and Oracle 9i running on RedHat-7.2.
I have question about Oracle function OCILogon().
I have problem about my source below.
<?php
$db = "";
$c1 = ocilogon("scott","tiger",$db);
$c2 = ocilogon("scott","tiger",$db);
?>
When run this source on browser, it has messages below.
Warning: _oci_open_server: Error while trying to retrieve text for error
ORA-12545 in /usr/local/apache/htdocs/registra/oracle2mysql/a.php on line
3
Warning: _oci_open_server: Error while trying to retrieve text for error
ORA-12545 in /usr/local/apache/htdocs/registra/oracle2mysql/a.php on line
4
Please let me know how to solve this problem.
thank you very much.
regards,
Somsak.