local connect to remote mssql database
Posted: 26. March 2008 09:07
Is it possible to connect from the local server to a remote database? (mssql)
I am running XP and XAMPP (basic package) version 1.6.6a .
My connection string:
$db = mssql_connect("remote ip", "username", "pass") or die("Could not connect to the MSSQL server!");
mssql_select_db("dbname", $db) or die("Could not connect to the database!");
This works on my remote server but not locally. any suggestions?
Tx
I am running XP and XAMPP (basic package) version 1.6.6a .
My connection string:
$db = mssql_connect("remote ip", "username", "pass") or die("Could not connect to the MSSQL server!");
mssql_select_db("dbname", $db) or die("Could not connect to the database!");
This works on my remote server but not locally. any suggestions?
Tx