Hi,
I am receiving the following error when i try to connect to oracle from my php4.2.1/win2k/iis env.
Warning: ociparse(): supplied argument is not a valid OCI8-Connection resource in
The code that is giving this error is:
$conn1 = OCINLogon($uname1, $password1, $db1) || die("Error on connection");
$stmt = OCIParse($conn1, "select sysdate from dual");
OCIExecute($stmt, OCI_DEFAULT) || die("Error on execute");
The error is happening after the OCIParse and not after OCINLogon. I tried using the variable strings directly and still it did not work.
Any ideas as to why this could be happening??? Also, I have included the oci dll and mapped it properly in the php.ini.
An early response would be greatly appreciated!!
Thanks alot!!