[PHP-DEV] PHP 4.0 Bug #8475 Updated: Cannot login to Oracle database From: rainbow178 <email protected>
Date: 12/29/00

ID: 8475
User Update by: rainbow178 <email protected>
Status: Open
Bug Type: Oracle related
Description: Cannot login to Oracle database

<?

$conn = OCILogon( "system", "manager", "database");

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);

...

?>

I can't login the local oracle database, it shows this error, i don't know how to debug...
Fatal error: Call to undefined function: ora_logon() in H:\Project\Homepage2\logon.php on
line 3

Previous Comments:
---------------------------------------------------------------------------

[2000-12-29 08:11:07] rainbow178 <email protected>
<?

$conn = ORA_Logon( "system <email protected>", "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);

...

?>

I can't login the local oracle database, it shows this error, i don't know how to debug...
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=8475

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>