function secure_require_once($site) {
// securely include wether page requestiod, but ONLY if its in the same dir
return $site;
}
//echo $_GET['page'];
// include site here, if none is detected, go for welcome.php
if ($_GET['page']) {
require_once(secure_require_once($_GET['page'].'.php'));
} else {
require_once(secure_require_once("welcome.php"));
}
?>