Skip to Content.
Sympa Menu

freetds - RE: help: access ms sql server 7 with php3

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Franck Martin <Franck AT sopac.org.fj>
  • To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
  • Subject: RE: help: access ms sql server 7 with php3
  • Date: Mon, 1 May 2000 16:11:42 +1200


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')




Archive powered by MHonArc 2.6.24.

Top of Page