Odd behavior

From: Date: Fri, 12 Oct 2001 09:10:32 +0000
Subject: Odd behavior
Groups: php.qa 
Request: Send a blank email to php-qa+get-3673@lists.php.net to get a copy of this message
I found out the hard way, that there seems to be a problem with the ms-sql module.. For example.. mssql_connect("localhost","sa",""); And mssql_connect("aserverfarfaraway","sa",""); Given that my machine is not aserverfarfaraway, it was still logging into my own machine.. Despite listing a correct server to connect to. Anyone got any reasons for this?? (this happens with 4.0.6 too it seems) BUT.. It also can work, but for some reason it seems if it fails to connect to the one I listed it will connect locally....

« previous php.qa (#3673) next »