RE: [PHP-DB] ORACLE client connection

From: Date: Mon, 11 Sep 2000 18:02:07 +0000
Subject: RE: [PHP-DB] ORACLE client connection
Groups: php.db 
Request: Send a blank email to php-db+get-2801@lists.php.net to get a copy of this message
I've never used oracle before but in the manual it has 'Ora_Logon' intsead of ora_connect' eg. $conn = Ora_Logon("user@TNSNAME", "pass"); also The parse error refers to "dbuser"@"TNSNAME" as the '@' sign is not inside the quotes. Regards Nick > ---------- > From: Lorenzini Andrea[SMTP:andrea.lorenzini@fastweb.it] > Sent: 11 September 2000 18:56 > To: php-db@lists.php.net > Subject: [PHP-DB] ORACLE client connection > > I'm trying to connect on ORACLE server that is installed on another host > by > a PHP script > Using function ora_connect("dbuser"@"TNSNAME", "dbpwd") I have > the error: > > Parse error: parse error in > /usr/local/apache/htdocs/www.fastweb.it/login.php on line 9 > > via sqlplus I can reach the remote host on witch ORACLE is insalled > Does anybody can help me? > > Andrea Lorenzini > Fastweb S.p.A > andrea.lorenzini@fastweb.it > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#2801) next »