Entry
How do I perform MS-SQL or ODBC operations on an NT DB server if my PHP is running on UNIX.
Jan 28th, 2000 13:06
Matt Gregory, Rio Bautista,
Make sure that your domain is set up correctly and then connect to your
MSSQL server databse using the domain name of the server:
mssql_connect("servername", "user", "pass");
ODBC is primarally for Windows PHP. Most users elect not to use ODBC
on Linux. There are a few ODBC compliant drivers out for Linux but you
will have to search for the one you need. You might also have to
recompile your kernel to enable them.