Re: [PHP-DB] Connect Microsoft SQL database with php on unix
You need to compile the FreeTDS library (freetds.org), and on your PHP configure line, add --with-sybase=/usr/local/freetds replacing the path for where you installed FreeTDS. And yes, it says Sybase, but no, you don't use the sybase functions, you can still use all the mssql_whatever functions. On Mon, 2003-03-31 at 13:40, Greg Cirino wrote: Maybe mssql_connect()?? www.php.net/mssql_connect The documentation indicates using sybase_connect (etc...) unless you are on a windows machine. But that doesn't work either as the sybase.so file seems to be non-existant (on my machine anyway) Regards Greg Cirino John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I would like to know the best way to connect to SQL database(which located on Microsoft SQL Server) from PHP(Located on Unix Server). Maybe mssql_connect()?? www.php.net/mssql_connect ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Connect Microsoft SQL database with php on unix
Thank you Adam Will Try that. Regards Greg Cirino - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: Greg Cirino [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 8:23 AM Subject: Re: [PHP-DB] Connect Microsoft SQL database with php on unix | You need to compile the FreeTDS library (freetds.org), | and on your PHP configure line, add --with-sybase=/usr/local/freetds | replacing the path for where you installed FreeTDS. | | And yes, it says Sybase, but no, you don't use the sybase | functions, you can still use all the mssql_whatever functions. | | On Mon, 2003-03-31 at 13:40, Greg Cirino wrote: | Maybe mssql_connect()?? | | www.php.net/mssql_connect | | | The documentation indicates using sybase_connect (etc...) unless you | are on a windows machine. | | But that doesn't work either as the sybase.so file seems to be | non-existant (on my machine anyway) | | Regards | Greg Cirino | | | John W. Holmes [EMAIL PROTECTED] wrote in message | news:[EMAIL PROTECTED] | I would like to know the best way to connect to SQL database(which | located | on Microsoft SQL Server) from PHP(Located on Unix Server). | | Maybe mssql_connect()?? | | www.php.net/mssql_connect | | ---John W. Holmes... | | PHP Architect - A monthly magazine for PHP Professionals. Get your copy | today. http://www.phparch.com/ | | | | | | -- | PHP Database Mailing List (http://www.php.net/) | To unsubscribe, visit: http://www.php.net/unsub.php | | -- | Adam Voigt ([EMAIL PROTECTED]) | The Cryptocomm Group | My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc | -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Connect Microsoft SQL database with php on unix
Maybe mssql_connect()?? www.php.net/mssql_connect The documentation indicates using sybase_connect (etc...) unless you are on a windows machine. But that doesn't work either as the sybase.so file seems to be non-existant (on my machine anyway) Regards Greg Cirino John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I would like to know the best way to connect to SQL database(which located on Microsoft SQL Server) from PHP(Located on Unix Server). Maybe mssql_connect()?? www.php.net/mssql_connect ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Connect Microsoft SQL database with php on unix
Hello I would like to know the best way to connect to SQL database(which located on Microsoft SQL Server) from PHP(Located on Unix Server). Thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] Connect Microsoft SQL database with php on unix
I would like to know the best way to connect to SQL database(which located on Microsoft SQL Server) from PHP(Located on Unix Server). Maybe mssql_connect()?? www.php.net/mssql_connect ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php