note 563 modified in ref.oracle by felipe

From: Date: Tue, 22 Jul 2008 18:45:55 +0000
Subject: note 563 modified in ref.oracle by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142516@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. <?php 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. putenv( "ORACLE_SID=dbname" ); $handle = ora_plogon( "SCOTT", "TIGER"); http://php.net/manual/en/ref.oracle.php

« previous php.notes (#142516) next »