I'm trying to connnect to an Oracle 8 database using TNSNAMES, through the oci8 driver in php. I loaded (by removing the the php_oracle.dll and php_oci8.dll
libraries in the php.ini file. Here's the error I keep getting:
Fatal error: Call to undefined function: ocilogon() in c:\phpdev\ on line 9
This is the code:
The ORACLE_HOME path (changed here) is correct. What else needs to be done?
Any help is appreciated.
libraries in the php.ini file. Here's the error I keep getting:
Fatal error: Call to undefined function: ocilogon() in c:\phpdev\ on line 9
This is the code:
Code:
<?
putenv('ORACLE_HOME=mypath');
$Oracle = OCILogon('USER','USER','DBNAME');
?>
Any help is appreciated.