Re: specifying different port for db connections
| From: | heath boutwell | Date: | Fri, 08 Nov 2002 19:11:55 +0000 |
| Subject: | Re: specifying different port for db connections | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-123465@lists.php.net to get a copy of this message | ||
>mssql_connect() establishes a connection to a MS SQL server. The
>servername argument has to be a valid servername that is defined in the
>'interfaces' file. <-- this is what i am referring too
This is my connection string
MSSQL_CONNECT("192.168.10.1 2461",$username,$password) or DIE("DATABASE
FAILED TO RESPOND.");
Attemping to use an interfaces file have been unsuccessful.
I'm still baffled that there isn't a way to specify the port in the connection
sting.
Thanks for your help
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2