Not a big mssql guy but if i remember correctly that should be set in
your interfaces file...but a valid server name should be used and that
is checked in the interfaces file...
On Thu, 2002-11-07 at 20:12, heath boutwell wrote:
> 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
--
.: B i g D o g :.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php