php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8474 Cannot login to Oracle database
Submitted: 2000-12-29 08:10 UTC Modified: 2006-07-17 08:33 UTC
From: rainbow178 at yahoo dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.2 OS: Window NT Server
Private report: No CVE-ID: None
 [2000-12-29 08:10 UTC] rainbow178 at yahoo dot 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:\Project\Homepage2\logon.php on line 3

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-29 19:23 UTC] 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-30 11:40 UTC] sniper@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 18:01:31 2024 UTC