Ahh hello, Just saw your post, I think I know what you mean.
To access links like
www.blah.com/index.php?page=about then it will include about.php. You will want to do something like in the post below:
PHP:
<?php
// index.php
if(isset($_GET['page']) && strlen($_GET['page'] < 100)) {
$fileName = html_entities($_GET['page']);
$ext = '.php';
$file = $fileName.$ext;
if(is_file($file)) {
include($file);
} else {
echo 'Page name incorrect.';
}
} else {
echo 'Page not set.';
die();
}
?>
There may be errors inthat.. it's off the top of my head so may be slightly incorretct.