if (!preg_match("/^www/i", $_SERVER['SERVER_NAME'])) header("Location: http://www.".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']);