Re: [CODE4LIB] PHP and Sybase

2008-01-25 Thread Hans Erik Büscher
If you go for a ODBC solution I'd go for the usual UnixODBC, which for PHP5 is quite easy to include. I'd recommend *NOT* to use odbc.ini (mother of all ODBC problems on linux) and instead include the parameter in the actual obdc_connect(); $genODBC="Driver={Adaptive Server Anywhere 9.0};CommLinks

Re: [CODE4LIB] PHP and Sybase

2008-01-23 Thread Peter Keane
Sorry Genny!! I addressed you as George for some unknown reason. (There IS a famous George Engel and another one that I know, but that's no excuse...). --peter keane On Wed, 23 Jan 2008, Genny Engel wrote: Anyone have PHP on Linux/Apache talking to a Sybase database on another server? If so,

Re: [CODE4LIB] PHP and Sybase

2008-01-23 Thread Peter Keane
Hi George- I regularly interact with an SQL Server that lives on another host from a RedHat EL5 box using PHP. (the same libraries are used for SyBase and SQLServer). I am currently using PHP PDO for database interactions. You'll need these two things: 1. the FreeTDS libraries see: http://www.

[CODE4LIB] PHP and Sybase

2008-01-23 Thread Genny Engel
Anyone have PHP on Linux/Apache talking to a Sybase database on another server? If so, are you using Easysoft ODBC? Or have other options to recommend? Thanks, Genny Engel Internet Librarian Sonoma County Library [EMAIL PROTECTED] 707 545-0831 x581 www.sonomalibrary.org