#20916 [Opn->Bgs]: MS SQL: Unable to connect to server
| From: | sniper@php.net | Date: | Tue, 10 Dec 2002 14:59:34 +0000 |
| Subject: | #20916 [Opn->Bgs]: MS SQL: Unable to connect to server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27265@lists.php.net to get a copy of this message | ||
ID: 20916
Updated by: sniper@php.net
Reported By: CharlesK@netgaintechnology.com
-Status: Open
+Status: Bogus
Bug Type: MSSQL related
Operating System: Windows 2000 Server
PHP Version: 4.2.3
New Comment:
Yes, browser can't possibly affect this.
Thus this is bogus. (propably some cache issue with NS)
Previous Comments:
------------------------------------------------------------------------
[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