specifying different port for db connections

From: Date: Thu, 07 Nov 2002 20:12:02 +0000
Subject: specifying different port for db connections
Groups: php.general 
Request: Send a blank email to php-general+get-123221@lists.php.net to get a copy of this message
Attempting to access remote db (SQL Server) how do you specify the port? I've tried everything in the hostname paramater of mssql_connect but nothing seems to work. ie none of the following: MSSQL_CONNECT("192.168.10.1,2461",$username,$password) or DIE("DATABASE FAILED TO RESPOND."); or MSSQL_CONNECT("192.168.10.1:2461",$username,$password) or DIE("DATABASE FAILED TO RESPOND."); or MSSQL_CONNECT("192.168.10.1;2461",$username,$password) or DIE("DATABASE FAILED TO RESPOND."); Thanks __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2

« previous php.general (#123221) next »