freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <bdog AT ais.org>
- To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
- Subject: Re: PHP to Sybase
- Date: Mon, 30 Sep 2002 14:28:05 -0400 (EDT)
Is your sa password really blank? I'm not sure how well PHP/freetds deal
with it, i think it's working (it does for tsql/sqsh), but something to
try.
Brian
On Mon, 30 Sep 2002, Dustin Marquess wrote:
> Brian,
>
> Make sure PATH046 is defined in your /usr/local/etc/freetds.conf file..
>
> -Dustin
>
> Brian Paquin wrote:
> > Looking for a little assistance...
> >
> > Using MacOS X.2, PHP 4.3dev, FreeTDS 0.60, and Sybase ASE 12.5.
> > iSQL and tSQL work great.
> > <? phpinfo()?> works great
> >
> > But how to I connect to Sybase??
> >
> > Using:
> > -----------------------
> > <?php
> > $conn = sybase_connect("PATH046", "sa", "");
> > sybase_select_db("pubs2");
> > $qry = sybase_query("select * from titles", $conn);
> >
> > echo sybase_result($qry, 1, 1);
> >
> > sybase_close($conn);
> > ?>
> > ------------------------
> > will not connect:
> > (*Warning*: Sybase: Unable to connect in*
> > /Library/WebServer/Documents/testconnect.php* on line* 2*)
> >
> > Any ideas??
> >
> > Brian
>
>
-
PHP to Sybase,
Brian Paquin, 09/30/2002
- <Possible follow-up(s)>
- Re: PHP to Sybase, Dustin Marquess, 09/30/2002
- RE: PHP to Sybase, Lowden, James K, 09/30/2002
- Re: PHP to Sybase, Brian Bruns, 09/30/2002
Archive powered by MHonArc 2.6.24.