ODBC connection to oracle using PHP

admin

Administrator
Staff member
Hi there,

I have some problem using php4 in ODBC connection to my remote oracle database.

My code is something stated below.
$connect = odbc_connect("DSN", "UID", "PWD");

& I get this error message:
SQL error: [Oracle][ODBC][Ora]Server rejected the connection., SQL state 08004 in SQLConnect

But when I use ASP to do the same thing, it worked.

Is this because of my php configuration setting?

Can anyone advice me on this...

Thanks
 
Back
Top