I am having trouble connecting to a database on another server. I have the following for the connection, but it seems to be overriding the value for the $host variable, and replacing it with localhost. Anyone got any ideas? $host="domain.com"; $user="username"; $password="password"; $database="dbname"; $connection = mysql_connect($host,$user,$password) or die ("Couldn't connect to server."); $db = mysql_select_db($database,$connection) or die ("Couldn't select database."); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php