billf Posted March 28, 2008 Share Posted March 28, 2008 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 More sharing options...
billf Posted March 31, 2008 Author Share Posted March 31, 2008 nobody? dang.... it looks like it's going to a looong monday. Link to comment https://forums.phpfreaks.com/topic/98375-odbc-php-connection-problem/#findComment-505550 Share on other sites More sharing options...
Splynx Posted July 1, 2008 Share Posted July 1, 2008 have you added SERVER details in the odbc.ini file? Link to comment https://forums.phpfreaks.com/topic/98375-odbc-php-connection-problem/#findComment-579268 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.