//Start session session_start(); //Include SSI require("/home/cubitnet/public_html/lost/forum/SSI.php"); //Redirect to subdomain if($_SERVER['HTTP_HOST'] != 'lost.cubit.net') { $location = "http://lost.cubit.net" . str_replace("/lost", "", $SCRIPT_NAME); header("Location: $location"); } //Include DB require ("/home/cubitnet/public_html/lost/db.php"); ?>