Hey, I'm using Oracle with PHP. I never could get the blasted thing to
work right. What I ended up doing was something similar to this:
$db =
"(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.68.10.1)(PORT=1521))(CONNECT_DATA=(SID=TEST)))";
$conn = OCILogon("scott", "tiger", $db);
>From what I can tell, this completely lets PHP ignore your tnsnames.ora
file. So if you're having some rather interesting trouble connecting with
environment variables, give that a shot. The only things you'll have to
replace are the SID and the IP address. :)
-Brian
--
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]