Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001011

[PHP-DB] Connecting to a Remote Oracle Database From: Richard Crawford (rscrawford <email protected>)
Date: 01/05/01

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?

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>