OCILogon
| From: | Jean-Christophe Le Brun | Date: | Thu, 04 Jan 2001 14:31:20 +0000 |
| Subject: | OCILogon | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4802@lists.php.net to get a copy of this message | ||
Thank's for all your answers about the connection to Oracle via SQL*NET.
ORACLE has given a good one, strang but good, it works...
$Connection="(DESCRIPTION = (ADRESS = (PROTOCOL = ...)(HOST = ....)(PORT =
....))(CONNECT_DATA = (SID = ...)))";
$Oracle=OCILogon($User,$Password,$Connection);
in fact in connection you find what is in the tnsname.ora, strange but it
works.
The tnsname.ora in the unix format doesn't work for me...
I can go on now... yeah !
JCLB Soft
Jean-Christophe Le Brun
jclbsoft@geocities.com
http://www.multimania.com/jclb