Re: [PHP] specifying different port for db connections

2002-11-08 Thread heath boutwell
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

Re: [PHP] specifying different port for db connections

2002-11-07 Thread .: B i g D o g :.
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

Re: [PHP] specifying different port for db connections

2002-11-07 Thread heath boutwell
--- .: B i g D o g :. [EMAIL PROTECTED] wrote: 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... I think the interfaces file is only used if you are accessing sql

Re: [PHP] specifying different port for db connections

2002-11-07 Thread .: B i g D o g :.
Actually the remote file is used if you are trying to connect to a remote system. Sybase uses remote files and that is how it works...i know oracle does a similar way of connecting... IMHO, i would look into the interface file and change it there... On Thu, 2002-11-07 at 21:55, heath boutwell

Re: [PHP] specifying different port for db connections

2002-11-07 Thread heath boutwell
--- .: B i g D o g :. [EMAIL PROTECTED] wrote: Actually the remote file is used if you are trying to connect to a remote system. Sybase uses remote files and that is how it works...i know oracle does a similar way of connecting... IMHO, i would look into the interface file and change it

Re: [PHP] specifying different port for db connections

2002-11-07 Thread .: B i g D o g :.
Which database are you using? MSSQL is what you said in your first email... Here is the information from php: Description int mssql_connect ( [string servername [, string username [, string password]]]) Returns: A positive MS SQL link identifier on success, or FALSE on error. mssql_connect()