Well, you can do this:
include $page in your index.php
just replace everthing between the body <> </> lines with:
<?php
if ($page) {
if (file_exists($page)) {
include $page.'.php'; //or include "$page.php"; I don't care
}
}
?>
And when you do www.yourname.com/?page=links
it INCLUDES file named links.php
There might be some stupid errors in the code, U fix it, hope it helps, Arni