unable to connect to server (MSSQL)

From: Date: Tue, 10 Dec 2002 19:40:42 +0000
Subject: unable to connect to server (MSSQL)
Groups: php.windows 
Request: Send a blank email to php-windows+get-17377@lists.php.net to get a copy of this message
PHP Warning: MS SQL error: Unable to connect: SQL Server is unavailable or does not exist. (severity 9) in pathtofile\test.php4 on line 5 PHP Warning: MS SQL: Unable to connect to server: 192.168.168.168 in pathtofile\test.php4 on line 5 Why would I get these errors when I access a php file with Netscape 7 and not when I access the same file with IE 6. I can switch back and forth as fast as I can and every request from IE works and every request from Netscape fails. So it isn't a timing issue where the SQL Server is going away for a second. If I continue the file and try to run queries to test the connection, the queries verify the errors. IE They don't run when requested by Netscape 7 and they do when requested by IE 6 This is my setup IIS 5.0 -Virtual Site -Directory security: basic -Anonymous Access: Disallowed -PHP 4.2.3 Database -MS SQL 2000 Client Netscape 7.0 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 <? $username = 'dbusername'; $password = 'dbpassword'; $connection = mssql_connect('192.168.168.168',$username,$password); ?> Thank you Charles Killmer Windows 2000 Server PHP 4.2.3 IIS 5.0

« previous php.windows (#17377) next »