$p = strtolower($_GET["p"]); if (ereg('[^A-Za-z0-9]', $p)) exit("hack attempt"); if(!$p) $p = "home"; ?>