Hi all,
I'm having great difficultly trying to configure PHP to accept ORA functions.
I've uncommented the following extensions in the php.ini file,
extension = php_oci8.dll
extension = php_oracle.dll
I can connect fine using an OCI extension module, but when I try to connect using the following script...
<?php
if ($c=ora_logon("scott@roberts","tiger")) {
echo "Successfully connected to Oracle.\n";
ora_commitoff($c);
ora_logoff($c);
} else {
echo "Oracle Connect Error " . ora_error();
}
?>
I get the following error,
Fatal error: Call to undefined function: ora_logon() in d:\oracle\ora92\apache\apache\htdocs\oraconnect.php on line 2.
Any idea's on where i'm going wrong?
Thanks in advance,
Nick