harwantgrewal
asked on
PHP oracle
Hi
I am using PHP and Oracle 8i on win2000Server I set up oracle fine. Everything is running in SQLplus and even in the coldfusion using the ODBC connection. But when I use the oci8.dll and oracle.dll and odbc function it gives me error like
Warning: Oracle: Connection Failed: ORA-12638: Credential retrieval failed in c:\inetpub\wwwroot\php\ora cle.php on line 3
I had already set the env variables ORACLE_HOME< ORECLE_SID etc.
Please Help me
harry
I am using PHP and Oracle 8i on win2000Server I set up oracle fine. Everything is running in SQLplus and even in the coldfusion using the ODBC connection. But when I use the oci8.dll and oracle.dll and odbc function it gives me error like
Warning: Oracle: Connection Failed: ORA-12638: Credential retrieval failed in c:\inetpub\wwwroot\php\ora
I had already set the env variables ORACLE_HOME< ORECLE_SID etc.
Please Help me
harry
maybe you should try oci function in php instead of ODBC.
ASKER
But when I use the oci8.dll and oracle.dll and
odbc function it gives me error like
I think this line indicates that I use both of the functions.
Harry
odbc function it gives me error like
I think this line indicates that I use both of the functions.
Harry
odbc and oci8 are different sets of functions.
anyway, can you post your code for connect oracle then?
anyway, can you post your code for connect oracle then?
ASKER
<?php
$db="harry.deepblue";
$user="system";
$pass="manager";
OCIlogon($user,$pass,$db);
?>
Harry
$db="harry.deepblue";
$user="system";
$pass="manager";
OCIlogon($user,$pass,$db);
?>
Harry
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Got myself anyway thanks !
Harry
Harry