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

From: Date: Tue, 10 Dec 2002 14:48:54 +0000
Subject: #20916 [Opn]: MS SQL: Unable to connect to server
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27262@lists.php.net to get a copy of this message
 ID:               20916
 User updated by:  CharlesK@netgaintechnology.com
 Reported By:      CharlesK@netgaintechnology.com
 Status:           Open
 Bug Type:         MSSQL related
 Operating System: Windows 2000 Server
 PHP Version:      4.2.3
 New Comment:

<?
   $username = 'dbusername';
   $password = 'dbpassword';

   $connection = mssql_connect('192.168.168.168',$username,$password);
?>


Previous Comments:
------------------------------------------------------------------------

[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



Thread (9 messages)

« previous php.bugs (#27262) next »