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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rainbow178 at yahoo dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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 Mar 28 19:01:29 2024 UTC