I am trying to connect to an Oracle database for the first time but I am getting an error when I try to run the page. The error is:
"Warning: ora_logon() [function.ora-logon]: Oracle: Connection Failed: ORA-12541: TNS:no listener in c:\inetpub\wwwroot\dev\oraconnect.php on line 2"
My code for this is as follows:
<?
$conn = Ora_Logon("ronly@TST", "ronly");
?>
I have used PHP and MySQL before but I need to connect to my companies Oracle ERP system. Any insite would be appreiated.
Aybabtu.
::EDIT::
I had a bad TNSNAMES.ora file. It now works.
::/EDIT::