Absolute Path
Last updated 18 Sep 2005
Thank you for using our NeoExtreme tutorials! We are pleased to know that we have helped you in some way today. If you have any questions or concerns about our tutorials, please contact us.
Tutorial
Now for what you came for!
ALL FILES MUST BE NAME.PHP! MUST BE ALL PHP FILES.
<?PHP
error_reporting (E_ALL ^ E_NOTICE);
if($go=="" or $go=="FILENAME"){
if(!$go){ $go = $HTTP_GET_VARS['go']; }
include("MAINPAGE.PHP");
}elseif($go=="FILENAME"){
include("FILE.PHP");
}
?>
If you want to add more pages...
}elseif($go=="FILENAME"){
include("FILE.PHP");
Now when you're doing a link, use:
<a href="?go=FILENAME"> Name of link<a>
Neoextreme is proud to be sponsored by Budgethost.ca. Check out Budgethost.ca to get the best deals for your website!
