freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Dan Lukes" <dan AT fio.cz>
- To: freetds
- Subject: Re: help: access ms sql server 7 with php3
- Date: Thu, 18 May 2000 12:13:54
> if I want to connect to computer next to me
> (10.21.1.71) then what command should I issue ??
> btw: in mysql I've just did $db=mysql_connect("10.21.1.71","user","pass")
> but in freetds..
Replace mysql_* to mssql_* in your code.
FreeTDS doesn't use the IP adress as the first argument of
_connect/_pconnect . You should create $SYBASE/interface file, for
example:
-------------
MYTESTSERVER
query tcp ether address.private.com 5000
OTHERTESTSERVER
query tcp ether 10.21.1.71 5000
-------------
then call $db=mssql_connect("OTHERTESTSERVER","user",password")
Hope this help.
Dan
-
Re: help: access ms sql server 7 with php3,
Tim Uckun, 05/01/2000
- <Possible follow-up(s)>
- Re: help: access ms sql server 7 with php3, Sam Sam, 05/01/2000
- RE: help: access ms sql server 7 with php3, Franck Martin, 05/01/2000
- RE: help: access ms sql server 7 with php3, Brian Bruns, 05/01/2000
- RE: help: access ms sql server 7 with php3, Sam Sam, 05/01/2000
- RE: help: access ms sql server 7 with php3, Franck Martin, 05/01/2000
- Re: help: access ms sql server 7 with php3, Dan Lukes, 05/18/2000
- help: access ms sql server 7 with php3, Sam, 01/29/2024
Archive powered by MHonArc 2.6.24.