I have a simple script in php :


echo "Oracle : ". getenv("ORACLE_HOME")." \n";
echo "TNS_ADMIN : ". getenv("TNS_ADMIN")." \n";
echo "ORACLE_SID  : ". getenv("ORACLE_SID")." \n";

$connect_oracle = ora_logon("xxxxx@xxxxxxx"   ,
                            "xxxxxxxxx"        );

But then i do :
    e:\> php testoracle.php
the prog reply : ORA-12154 : TNS name not resolved

with apache server, I don't have this problem.
Can u help me ?
PHP4.0.6 - Win NT4W SP5

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