Hi
when I'm trying to connect to my oracle db with
<?php
dl("php_oci8.dll");---------------------------- I've put this because i
though that could help
print "<HTML><PRE>";
$db = "authors";
$c1 = ocilogon("pawel","pawel",$db);
function select_data($conn)
{ $stmt = ociparse($conn,"select * from pawel.authors");
ociexecute($stmt,OCI_DEFAULT);
echo $conn."----selecting\n\n";
while (ocifetch($stmt)){
echo ociresult($stmt,"au_fname")." ";
echo ociresult($stmt,"au_lname")." ";
echo ociresult($stmt,"title")."\n";
}
echo $conn."----done\n\n";
}
select_data($c1);
ocilogoff($c1);
print "</PRE></HTML>";
?>
I've an errors like :
"Warning: Unable to load dynamic library 'c:/php/php_oci8.dll' "
and :
"Fatal error: Call to undefined function: ocilogon() in ...".
In my php.ini I've enabled the extension=php_oci8.dll and
extension_dir=c:\php
The file php_oci8.dll I've put to the path c:\php; c:\php\extension;
c:\winnt\system32
can someone help me?
best regards - Pawel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php