Re: [PHP] PHP vs. FreeTDS

2001-02-22 Thread Michael Kimsal

FreeTDS is used to provide Sybase and MSSQL-specific TDS protocol
 instructions to the databases.  ODBC is a different protocol (from my
understanding).

If you're trying to use ODBC stuff, you need an ODBC driver.  I think FreeTDS
might have this/allow this, but I don't think it's intended to do that.


Scott Fletcher wrote:

 I can't user mssql_connect, I'm using odbc_connect!  Most of the websites
 for my company use odbc_connect.  Because we sometime move the website from
 unix to windows and back.  So, it is more reliable that way.

 Scott

 "Michael Kimsal" [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 
 
  Scott Fletcher wrote:
 
  Hi!  I am installing the FreeTDS so that unix machine can use PHP to
   connect to MS-SQL Server using odbc_connect.
 
  I assume you mean mssql_connect, not odbc_connect.
 
 
   However, the direction is
   pretty tricky and it isn't much of a help in clarification.  I have been
   wonder if I am suppose to use the sybase environment variable and
 library
   path.  From what I understand is that I don't need to use those because
 it
   is for SYBASE only.  All I can do is to compile FreeTDS with the
   "./config --with-sybase=../freetds-0.51" and it would take care of that
 for
   PHP use.
  
 
  You might have to set the sybase variable, but I don't think I did.
  It wasn't too much harder than ./configure ./make ./make install,
  then compiling PHP with --with-sybase=/usr/local/freetds
 
  Did this not work?
 
 
  
 Am I wrong?  Please help me out!
  
   Thanks,
Scott
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PHP vs. FreeTDS

2001-02-21 Thread Mark Roedel

 -Original Message-
 From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 20, 2001 5:03 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [PHP] PHP vs. FreeTDS
 
 
 I can't user mssql_connect, I'm using odbc_connect!  Most of 
 the websites for my company use odbc_connect.  Because we sometime
 move the website from unix to windows and back.  So, it is more
 reliable that way.

If you're using the odbc functions, then what's the purpose of FreeTDS?


---
Mark Roedel| "A wise man once told me that everything in 
Systems Programmer |  life is either a lesson or a joke.  Our task
LeTourneau University  |  is to figure out which is which..."
Longview, Texas, USA   | -- Chris Savage

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP vs. FreeTDS

2001-02-20 Thread Michael Kimsal



Scott Fletcher wrote:

Hi!  I am installing the FreeTDS so that unix machine can use PHP to
 connect to MS-SQL Server using odbc_connect.

I assume you mean mssql_connect, not odbc_connect.


 However, the direction is
 pretty tricky and it isn't much of a help in clarification.  I have been
 wonder if I am suppose to use the sybase environment variable and library
 path.  From what I understand is that I don't need to use those because it
 is for SYBASE only.  All I can do is to compile FreeTDS with the
 "./config --with-sybase=../freetds-0.51" and it would take care of that for
 PHP use.


You might have to set the sybase variable, but I don't think I did.
It wasn't too much harder than ./configure ./make ./make install,
then compiling PHP with --with-sybase=/usr/local/freetds

Did this not work?



   Am I wrong?  Please help me out!

 Thanks,
  Scott

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP vs. FreeTDS

2001-02-20 Thread Scott Fletcher

I can't user mssql_connect, I'm using odbc_connect!  Most of the websites
for my company use odbc_connect.  Because we sometime move the website from
unix to windows and back.  So, it is more reliable that way.

Scott


"Michael Kimsal" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...


 Scott Fletcher wrote:

 Hi!  I am installing the FreeTDS so that unix machine can use PHP to
  connect to MS-SQL Server using odbc_connect.

 I assume you mean mssql_connect, not odbc_connect.


  However, the direction is
  pretty tricky and it isn't much of a help in clarification.  I have been
  wonder if I am suppose to use the sybase environment variable and
library
  path.  From what I understand is that I don't need to use those because
it
  is for SYBASE only.  All I can do is to compile FreeTDS with the
  "./config --with-sybase=../freetds-0.51" and it would take care of that
for
  PHP use.
 

 You might have to set the sybase variable, but I don't think I did.
 It wasn't too much harder than ./configure ./make ./make install,
 then compiling PHP with --with-sybase=/usr/local/freetds

 Did this not work?


 
Am I wrong?  Please help me out!
 
  Thanks,
   Scott
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]