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: Brian Bruns <camber AT ais.org>
  • 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 07:55:16 -0400 (EDT)




On Mon, 1 May 2000, Franck Martin wrote:

> 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
>
Want to be a bit more specific? My time is rather limited for the next
month or so, so I will only be investigating bugs that come with code to
reproduce them along with the table def's and inserts to populate them.
Vague 'it doesn't work' reports are not going to get much attention (not
trying to be mean, just very limited on time for a while).

Cheers,

Brian

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