Function OciLogon().
| From: | Somsak RAKTHAI | Date: | Thu, 13 Dec 2001 21:22:45 +0000 |
| Subject: | Function OciLogon(). | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77676@lists.php.net to get a copy of this message | ||
Dear sir,
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-12546 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-12546 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.