php and mssql on seperate servers

From: Date: Thu, 24 Apr 2008 17:49:22 +0000
Subject: php and mssql on seperate servers
Groups: php.db 
Request: Send a blank email to php-db+get-44898@lists.php.net to get a copy of this message
I'm new to PHP and having issues. We have seperate servers for them. We can use ODBC to test the connection and it works fine. However, when we try to run the site we get a message of *** Error: Unable to Connect to Database. Please Try Again Later. *** We are using a custom app that we aren't getting a lot of assistance with. The relevant lines in the app are: define("DBHOST", "//database server name"); define("DBUSER", "user"); define("DBPASS", "password"); if(!$dbCon=mssql_connect(DBHOST,DBUSER,DBPASS)) $error = "Unable to Connect to Database. Please Try Again Later."; Can anyone assist a noob php user? thanks

« previous php.db (#44898) next »