:HELP PLEASE ABOUT ORCALE CONNECTION
| From: | Arslan Bahar | Date: | Tue, 18 Jul 2000 11:09:27 +0000 |
| Subject: | :HELP PLEASE ABOUT ORCALE CONNECTION | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24881@lists.php.net to get a copy of this message | ||
hello. I am using PWS and i installed php3 on my machine.
when i try to execute code which was written below occur tih error ----->
"Fatal error: Call to unsupported or undefined function ocilogon() in
c:\inetpub\wwwroot/ORALOGON.PHP3 on line 5"
<?php
print "<HTML><PRE>";
$db = "zorg";
$c1 = ocilogon("ARSLAN","A",$db);
$stmt = ociparse($conn,"select ENAME from scott.hallo");
ociexecute($stmt,OCI_DEFAULT);
echo $conn."----selecting\n\n";
while (ocifetch($stmt))
{
echo $conn." <".ociresult($stmt,"TEST").">\n\n";
echo $conn."----done\n\n";
}
print "</PRE></HTML>";
?>
after , i added dl("php3_oci80.dll"); and in this case an ANOTHER error
also
occured.
"Fatal error: Unable to load dynamic library 'C:\PHP3\php3_oci80.dll'
One of the library files needed to run this application cannot be found. in
c:\inetpub\wwwroot/ORALOGON.PHP3 on line 2"
but php3_oci80.dll id in the c:\php3 and extension_dir is
c:\php3
help please ; how ca i solve this problem ;