Hi,
I'm having a hard time connecting to a remote MS SQL server. My client is running Windows2000, IIS, and MS SQL 2000. He has placed the SQL Server version of NTWDBLIB.DLL in the proper directory on the server running PHP. He has set his authenication to SQL Server authentication and Windows authentication. I've tried using the following scripts with MSSQL_CONNECT($dbhost,$dbuser,$dbpass):
$dbhost="ipaddress";
$dbuser="myusername";
$dbpass="mypassword";
$dbhost="ipaddress\ipaddress";
$dbuser="myusername";
$dbpass="mypassword";
$dbhost="ipaddress:port";
$dbuser="myusername";
$dbpass="mypassword";
and the above with:
$dbhost="servername"; $dbhost="servername\servername"; $dbhost="servername:port";
It won't connect with any of them. Is there something that we're missing that anyone can think of?
Thanks.
-Derek