PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Someone please help me out. I am trying to connect from a PHP file on a Windows Server 2000 machine to an SQL database on a Windows Server 2003 machine. I keep getting a
mssql_connect(): Unable to connect to server: <servername> in <phpfilename> on line <linenumber>
error. The SQL has been recently moved to the 2003 server from a 2000 server, and from what I've read elsewhere, that is the issue. I have searched a few sites that had supposed workarounds. I replaced the ntwdblib.dll file on the server that has PHP with a newer one (and restarted the server), but that didn't make a difference. What can I do?