[PHP-DEV] :HELP PLEASE ABOUT ORCALE CONNECTION From: Arslan Bahar (abahar <email protected>)
Date: 07/18/00

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 ;

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>