[PHP-GTK-ORACLE] - Erreur TNS

[email protected] ("Christophe Chassagneux")
Newsgroups php.gtk
Message-ID <[email protected]>
I have a simple script in php :

putenv("ORACLE_HOME=D:\\ORANT");
putenv("TNS_ADMIN=D:\\ORANT\\NETWORK\\ADMIN");
putenv("ORACLE_SID=xxxxxxxxx");

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"   ,
                            "SERETI"        );

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 ?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.