Hi,
I have a MSSQL that I can access fine through cold fusion and through enterprise. I cannot connect through PHP. My ISP is pretty worthless and won't even tell me if they have it configured to work. I'm using the following code:
$hostname = "put in IP address here";
$username = "username";
$password = "password";
$dbName = "database";
MSSQL_CONNECT($hostname,$username,$password) or DIE("DATABASE FAILED TO
RESPOND.");
Am I doing something wrong with the hostname? I've tried the DNS I use in ColdFusion and also the IP address of the database. With the DNS I get a general unable to connect error. With the IP address I get an error saying it couldn't log in my user name.
HELPPPP