
//content here..
//echo $inc;
include_once($inc);
?>
include_once($contPath."status.php");
?>
session_start(); include_once("config.php"); include_once("inc.php"); //handle URI Requests, and set $inc to the file to include. $exp = explode("/", $REQUEST_URI); //start at 2 if ($exp[2]){ $inc = $contPath.$exp[2].".php"; if (!file_exists($inc)){ $inc = $contPath."404.php"; } }else{ $exp[2] = "home"; $inc = $contPath."home.php"; } $exp[2] = ucfirst($exp[2]); ?>