When I try doing a mssql connection to our mssql server on the web-hosting machine(s), it does not work. This is a code example:
Code: Select all
<?php
echo "Testing NFO-Server's mssql server connection function....";
$connection = mssql_connect("96.31.75.130,1403","sa","*Removed*");
if(!$connection)
{
echo "<br />Failed to connect.";
}
else
{
echo "<br />Successfully connected.";
}
echo "<br />Test has been completed.";
?>
http://cool.site.nfoservers.com/test.php
here is a example of hosted2 box:
http://boutcheetah.zylongaming.com/test.php
(the above does not work)
this one does(not hosted on nfo web-hosting)
http://96.31.75.130/test.php