I am using the following to connect to the database through my php page. Now I want to host the website on another server and conenct to the database on another machine. How do i change my code. Do i just change the path to the computer name $_SESSION["hostname"] = "computer name"; $_SESSION["dbname"] = "database name"; $_SESSION["con"]=mssql_connect($_SESSION["hostname"],$_SESSION["user"],$_SES SION["password"]) or die ("Error on connection string."); -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php