note 563 modified in ref.oracle by irchtml

From: Date: Tue, 17 Feb 2004 14:34:25 +0000
Subject: note 563 modified in ref.oracle by irchtml
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-65304@lists.php.net to get a copy of this message
Using "@dbname" in ora_logon/ora_plogon will force a SQL*Net connect, even if the database is on the local host. It's more efficient to use the ORACLE_SID environment variable. putenv( "ORACLE_SID=dbname" ); $handle = ora_plogon( "SCOTT", "TIGER"); --was-- Using "@dbname" in ora_logon/ora_plogon will force a SQL*Net connect, even if the database is on the local host. It's more efficient to use the ORACLE_SID environment variable. <PRE> putenv( "ORACLE_SID=dbname" ); $handle = ora_plogon( "SCOTT", "TIGER"); </PRE> http://www.php.net/manual/en/ref.oracle.php

« previous php.notes (#65304) next »