if (file_exists("includes/$p.php")) {
include("includes/$p.php");
} else {
echo("Module does not exist.");
}
?>
$p = strtolower($_GET["p"]); if (ereg('[^A-Za-z0-9]', $p)) exit("hack attempt"); if(!$p) $p = "home"; ?>