Can Anyone tell me or give me the code to connect to an oracle database on a remote server using php. I
Ok, I'll give you the code, but seriously man, you should check PHP Reference at php.net before posting a question, since it's all there.
$conn = OCILogon("user","password") or die("Couldn't connect to the database");
I said remote..obviously if it was that easy i would'nt be asking for help the database is on a differnt machine so my connection wont work! I need to know how to set up a listener on net administrator and then what fields to enter on my code to connect i.e SID,service name etc.
i used to work at oracle
Youy worked in oracle so can you solve my problem?