Thank you very much for your reply. However it did not help me.
here is snips of code that i am using to connect:
echo "<pre>";
putenv('ORACLE_HOME=D:\oracle\ora92');
putenv('ORACLE_SID=oradb2');
$db = "oradb2";
$c1 = ocilogon("scott", "tiger", $db) or die("Could not connet");
$c2 = ocilogon("scott", "tiger", $db)or die("Could not connet");
my both oracle 9.2.0.2 and php are in windows environment.
Thanks in advance for all your help
Regards,
Najm