SQL Server 2008 R2 and PHP MSSQL

Jul 16, 2013 at 11:00 PM

I hope someone can help me about my issue :

i have a SQL Server on the network, and i want to establish a connection from my Website. But i receive all time this error : Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server.

The weird think is I can connect to the SQL Server using SQL Server Management from my home, or using (sqlserv_connect) at PHP without any problem, but all my project is using MSSQL so it will be hard to change it again to SQLSERV Library.

The other think is when i use same project but in local, he can establish a connection (That mean it's not ntwdblib.dll problem).

Thanks a lot .