> -----Original Message----- > From: Faisal Abdullah [mailto:faisal@;magnifix.com.my] > Sent: 28 October 2002 09:51 > To: Subodh Gupta; [EMAIL PROTECTED] > Subject: RE: [PHP] error connecting to oracle. > >> -----Original Message----- >> From: Subodh Gupta [mailto:Subodh.Gupta@;seepz.tcs.co.in] >> Sent: Monday, October 28, 2002 5:18 PM >> >> I get the following error while trying to connect to oracle. >> Please help >> me. >> >> Fatal error: Call to undefined function: ora_logon() in c:\program >> files\apache group\apache\htdocs\one.php on line 5> >> "undefined function" means PHP doesn't know where to get the >> function from. > > You probably didn't configure oci_8 libraries correctly. > Try phpinfo(), and see under the configuration. > Check whether oci8 is available.
Look out! You've got your Oracle libraries in a twist. The oci8 library supports the OCI* functions; the oracle library supports the ora_* functions. OCI is generally considered to be a better interface, and should probably be used by preference with Oracle version 7 and upwards. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php