I have PHP running on Apache for win32. The mssql module is enabled. I am
trying to connect to a database with the following code.
?php
$hostname = 192.168.1.1:1433;
$username = test;
$password = smiley;
$dbName = meyedev;
$dbc = mssql_connect($hostname,$username,$password) or DIE(DATABASE
Hi Adam,
Host name should not include the port number. If you need to use a non standard port
number you should create a client configuration (using client network utility) and
then use the name of the configuration as the host name.
- Frank
I have PHP running on Apache for win32. The