PHP 4.0 Bug #8474 Updated: Cannot login to Oracle database

From: Date: Sat, 30 Dec 2000 16:40:05 +0000
Subject: PHP 4.0 Bug #8474 Updated: Cannot login to Oracle database
Groups: php.dev 
Request: Send a blank email to php-dev+get-42699@lists.php.net to get a copy of this message
ID: 8474 Updated by: sniper Reported By: rainbow178@yahoo.com Old-Status: Feedback Status: Closed Bug Type: Oracle related Assigned To: Comments: You should uncomment (remove ; in front of the line) in php.ini either or both of these extensions: php_oracle.dll php_oci8.dll --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-29 19:23:45] derick@php.net You didn't load/enable the extension. Try to find the ;extension=ora.dll in the php.ini, and remove the ; --------------------------------------------------------------------------- [2000-12-29 08:10:21] rainbow178@yahoo.com <? $conn = ORA_Logon( "system@som", "manager"); if(!$conn){ echo"fail to connet!n"; } $stmt=OCIParse($conn,"select sid, sname from students"); OCIDefineByName($stmt,"sid", &$sid); OCIDefineByName($stmt,"sname", &$sname); OCIExecute($stmt); ... ?> Fatal error: Call to undefined function: ora_logon() in H:ProjectHomepage2logon.php on line 3 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8474

« previous php.dev (#42699) next »