Brian,

How did you configure PHP (ie what was your ./configure string?).  I am
having trouble even getting PHP set up to where it even recognizes the
Oracle functions.  When I try to execute a script similar to what you have
written all I get is 'function undefined.'

Thanks,
Jason

On 9/13/01 12:16 PM, in article [EMAIL PROTECTED],
"Brian Ofsthus" <[EMAIL PROTECTED]> wrote:

> 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
> 
> 
> 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to