Re: [newbie] Linux connecting to a ms sql server
Hey en php.net encontre info que te sera de gran ayuda... http://www.php.net/manual/en/ref.mssql.php El mar, 14-09-2004 a las 02:24, Avi Schwartz escribi: 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. BTW, you have set reply-to in your mailer which screws up replies to the list. Please remove it from you kmail settings. Avi Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Linux connecting to a ms sql server
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? Jeb Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Linux connecting to a ms sql server
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. BTW, you have set reply-to in your mailer which screws up replies to the list. Please remove it from you kmail settings. Avi Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Linux connecting to a ms sql server
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. BTW, you have set reply-to in your mailer which screws up replies to the list. Please remove it from you kmail settings. Avi Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Linux connecting to a ms sql server
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