Hi folks.

Up til now I have been using PHP code on my NT Server running Apache to
access an Oracle 9i database remotely. Everything works fine but now I
will be migrating my files to an Apache server on the same machine as
the Oracle database. My code currently access the database through
TCP/IP but since the mechanism will be local now, I am wondering how
that will be accomplished. Can it be done through IPC and if so, what is
the notation?

Currently, my connection code is as follows:

$db = " (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = $host)(PORT =
1522))(CONNECT_DATA = (SID = etrack9i)))";
$connection = ocilogon("system","manager",$db);

How should the above look if its a local connection?

Tom Tsongas



-- 
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]

Reply via email to