Hi Michael,
First of all i'm get a dialog box saying that the .dll php_oci8.dll cannot be found.
I have installed the .dll files from the zip archive & I have tried many variations / file paths. I have alos tried to load the .dll file in the code before the script executes but still no luck. Any Ideas?
Sean
!------- code snippet
<?php
/ dl("php_oci8.dll"); /
PutEnv("ORACLE_SID=name"); //only if you have more than one sids
$conn = OCILogon("scott", "tiger");
OCICommit($conn);
OCILogOff($conn);
?>
!---- Php.ini file
; Directory in which the loadable extensions (modules) reside.
extension_dir = c:/PHP/extensions
;include_path = ".;c:\php\includes"
; Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
enable_dl = On
extension=php_oci8.dll
;extension=php_openssl.dll
extension=php_oracle.dll
!-------- Browser Message
X-Powered-By: PHP/4.0.6 Content-type: text/html
Fatal error: Call to undefined function: ocilogon() in d:\Inetpub\wwwroot\test\sean\querystring\display1.php on line 4
PHP Warning: Unable to load dynamic library 'c:/PHP/extensions/php_oci8.dll' - in Unknown on line 0 PHP Warning: Unable to load dynamic library 'c:/PHP/extensions/php_oracle.dll' - in Unknown on line 0