#20916 [Bgs->Opn]: MS SQL: Unable to connect to server

From: Date: Tue, 10 Dec 2002 15:22:19 +0000
Subject: #20916 [Bgs->Opn]: MS SQL: Unable to connect to server
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27269@lists.php.net to get a copy of this message
ID: 20916 User updated by: CharlesK@netgaintechnology.com Reported By: CharlesK@netgaintechnology.com -Status: Bogus +Status: Open Bug Type: MSSQL related Operating System: Windows 2000 Server PHP Version: 4.2.3 New Comment: But PHP is generating the error: MS SQL: Unable to connect to server If it is entirely within Netscape, PHP should not display this error. I am sorry for reopening this. Previous Comments: ------------------------------------------------------------------------ [2002-12-10 08:59:33] sniper@php.net Yes, browser can't possibly affect this. Thus this is bogus. (propably some cache issue with NS) ------------------------------------------------------------------------ [2002-12-10 08:48:53] CharlesK@netgaintechnology.com <? $username = 'dbusername'; $password = 'dbpassword'; $connection = mssql_connect('192.168.168.168',$username,$password); ?> ------------------------------------------------------------------------ [2002-12-10 08:47:35] CharlesK@netgaintechnology.com This is not bogus. The browser should not make any difference. Please test this case. ------------------------------------------------------------------------ [2002-12-09 23:24:25] sniper@php.net If it works with some browser but not with another, it's a browser fault. Please don't report such bugs here. (and btw. this REALLY can't be bug in mssql_* functions or anything else in PHP but some bug in your code) ------------------------------------------------------------------------ [2002-12-09 20:43:37] CharlesK@netgaintechnology.com Connecting to database fails when accessed with Netscape. Below 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 Calling the function mssql_connect($ip,$username,$password); fails to connect to database While accessing the same file with IE connects. Not sure if this is a Netscape bug or PHP. Just curious what could cause this behavior. Thanks Charles Killmer ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20916&edit=1

« previous php.bugs (#27269) next »