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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to