it wasnt that hard. took me a while to actually get how i was going to do it, but you can just make a quick "engine" to get it.
head();
$page = $_REQUEST['page'];
if($page == null){
index();
}
else{
if(function_exists($page))
$page();
else
error($page);
}
foot();
it just gets the function called by the get variable "page." simply put, i would type localhost/?page=script
it would make sure the function script exists, and if it does, it runs it!
my website uses it, and i made a quick template for it.
edit:
the if-elseif-else method of making multiple pages is probably better only if there are few pages (2-4). on my site theres at least 20, so i made that quick "engine"
www.kryptn.com
www.kryptn.com/template.php