Hi!
I am using PHP 4.3.6 under Windows 2000.
I have been always connected to and worked with my local mySQL databases without problems.
Now what I need is to connect to a remote MS-SQL host within a VPN:
$remote_server="99.999.999.99";
$user="xxxxx";
$pass="9999";
$conn = mssql_connect($remote_server,$user,$pass);
IF($conn > 0)
echo "OK!<BR>";
else
echo "Error!<BR>";
The error message I get is:
Warning: mssql_pconnect(): Unable to connect to server: 99.999.999.99 in C:\apache.....
I have tried with pmssql_connect and $remote_server="99.999.999.99,1433" too.
I ping the IP address and I get a normal response.
Any ideas ?
Please, I would need help ASAP!
Thank you in advance