Home » Open Source » Programming Interfaces » Oracle and PHP
Oracle and PHP [message #194797] Mon, 25 September 2006 06:30
Messages: 2
Registered: September 2006
Location: bangalore
Junior Member

I am the beginner for php
i am trying to get the connection with oracle
i have written the fllg code
if ($c=OCILogon("scott@finance", "tiger")) {
echo "Successfully connected to Oracle.\n";
} else {
// $err = OCIError();
echo "Oracle Connect Error " ;//. $err[text];

but in the browser i'm getting error like

Warning: ocilogon() [function.ocilogon]: _oci_open_server: ORA-12560: TNS:protocol adapter error in c:\wamp\www\exp php\orac2.php on line 2
Oracle Connect Error

please helpme
Previous Topic: perl and Oracle on Redhat
Next Topic: PHP and Oracle
Goto Forum:

Current Time: Sun Oct 04 00:17:32 CDT 2015

Total time taken to generate the page: 0.08507 seconds