Connecting to a Remote Oracle Database
| From: | Richard Crawford | Date: | Fri, 05 Jan 2001 17:55:51 +0000 |
| Subject: | Connecting to a Remote Oracle Database | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5628@lists.php.net to get a copy of this message | ||
Does anyone have any thoughts on how to connect to an Oracle database which
resides on a remote server? The connection script looks something like this
already:
putenv("ORACLE_SID=[db]");
putenv("ORACLE_HOME=[location of tns file]");
$db = ocilogon("[user]","[password]");
Is there a param I can put in somewhere to designate server ID?