RE: /?id=home
I use ?id=home on my websites for the homepage it is a script that allowed a series of includes on a page, thus you dont have to update each page when you alter a design. The page extension must be in php.
Here is what I use on my websites:
<?PHP
error_reporting (E_ALL ^ E_NOTICE);
if(!$id){ $id = $HTTP_GET_VARS['id']; }
if($id=="" or $id=="home"){
include("home.php");
}elseif($id=="asmiles"){
include("animatedsmiles/index.php");
}elseif($id=="backgrounds"){
include("backgrounds/index.php");
}elseif($id=="downloads"){
include("downloads/pafiledb.php");
}elseif($id=="dp"){
include("dp/index.php");
}elseif($id=="names"){
include("names/index.php");
}elseif($id=="smiles"){
include("smiles/index.php");
}elseif($id=="web"){
include("web.php");
}
?>
(that's part of msgstuff)
you add this where your page content begins and in the includes you add the other pages, but just the basic code and not all the html and head tags.
|