Jeb Barger wrote:

The reply to is gone. I will have to check the build tomorrow. How can I check, just try to connect to the sql server or can I check something in the phpinfo().

Jeb

Avi Schwartz wrote:

Jeb Barger wrote:

Ok, I was working on this most of the day today, and there has got to be a better way.


I am converting a webapp to Mandrake 10 using php, however, it still needs to connect to the microsoft sql server. Is there an easy way to do this? Articles I have read, suggest using a piece that converts the odbc connection to xml, and using php to connect that way. I am new to linux, and I know there has to be a better way. Any suggestions?



It all depends whether MDK built PHP with freetds. If it was, when you should be able to access SQL Server directly from PHP like any other database. If not, then you will have to compile PHP yourself. Check http://www.freetds.org/ for more information.

Its been a while since I used PHP to connect to SQL server so I am not sure whether phpinfo() will show this. So I guess you just need to test it. Google will find you some examples:


http://www.google.com/search?q=freetds%20php

Avi

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to