I've got a web application running on CentOS, WHM/cPanel. PHP version 5.4
And a Windows 2000 server with a MSSQL database.
How can i connect remotely to this database?
I've already tried several options:
$cs = mssql_connect ( 'IP:1433', 'User', 'Password' ) or die ( 'Can not connect to server' );
mssql_select_db ( 'DatabaseName', $cs ) or die ( 'Can not select database' );
Warning: mssql_connect(): Unable to connect to server: IP:1433 in /home/property/public_html
/test.php on line 1
Can not connect to server
Thanks in advance!