freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Dustin Marquess <dustin.marquess AT algx.com>
- To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
- Subject: Re: PHP to Sybase
- Date: Mon, 30 Sep 2002 12:23:02 -0500
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
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-
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.