help: access ms sql server 7 with php3

Franck Martin Franck at sopac.org.fj
Mon May 1 00:11:42 EDT 2000


You need to do this

$conn=sybase_pconnect("computer","username","password");
$ok=sybase_select_db("DBNAME",$conn);

freetds will use sybase call in php.

I advise you to download latest snapshot as last released version of freetds
has many bugs with SQL 7.0


Franck Martin
Network and Database Development Officer
SOPAC South Pacific Applied Geoscience Commission
Fiji
E-mail: franck at sopac.org.fj <mailto:franck at sopac.org.fj> 
Web site: www.sopac.org.fj <http://www.sopac.org.fj> 

		-----Original Message-----
		From:	Sam [mailto:s4m at mailcity.com]
		Sent:	Monday, May 01, 2000 12:00 PM
		To:	TDS Development Group
		Subject:	[freetds] help: access ms sql server 7 with
php3

		I'm having problem here to access ms sql server 7 with
php3.. I already 
		compiled php3 with option freetds It seems everything goes
right but then I 
		don't know what to do.. 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..I've got no clue.. any help.. and any links
would be very 
		appreciated...


		thx
		sam

		---
		You are currently subscribed to freetds as:
franck at sopac.org.fj
		To unsubscribe, forward this message to
$subst('Email.Unsub')



More information about the FreeTDS mailing list