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

From: rainbow178 <email protected>
Operating system: Window NT Server
PHP version: 4.0.2
PHP Bug Type: Oracle related
Bug description: Cannot login to Oracle database

<?

$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:\Project\Homepage2\logon.php on line 3

-- 
Edit Bug report at: http://bugs.php.net/?id=8475&edit=1

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