Jump to content

ODBC PHP connection problem


billf

Recommended Posts

OS=2k3, MSSQL, PHP 5.xx IIS 6

 

i am using the following code. the ODBC connection passed when i set it up. the code connects and runs fine when i run it from the command line. ie: 'php test_sql_conn.php' but when i try to run it on the browser i get nothing. there are no errors displayed.

 

$conn = odbc_connect('SERVER','User','Pass');

if ($conn)

....

else

echo "odbc not connected";

 

i am thinking maybe there is some permission problem but i am new to this so i really don't know

 

thanks,

Bill

Link to comment
https://forums.phpfreaks.com/topic/98375-odbc-php-connection-problem/
Share on other sites

  • 3 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.