NEED HELP WITH ORACLE & PHP PLZ.
| From: | Brian Ofsthus | Date: | Thu, 13 Sep 2001 18:16:43 +0000 |
| Subject: | NEED HELP WITH ORACLE & PHP PLZ. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12416@lists.php.net to get a copy of this message | ||
I have The following
A Sun Ultra2 Running the Oracle Client talking to a Oracle Instance 8.1.7 on
another server.
sqlplus scott@rhinodb works greate. I do have to be in $ORACLE_HOME for
some reason.
When I issue the following command I get an error
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<?php
$link = ora_logon("scott@RHINODB", "tiger")
or die ("Could not connect");
print ("YAAAAAA Connected successfully");
?>
</body>
</html>
Error in the Browser....
Warning: Oracle: Connection Failed: Error while trying to retrieve text for
error ORA-12154 in /export/dsk2/apache/htdocs/rhinodb/cgi-bin/dbtest.php on
line 8
YAAAAAA Connected successfully