Nieuw lid |
|
Darrow .. als je me toe wilt voegen aan msn?? (A) lolzzz
:$ volgens mij ben ik echt heeeeeeeeeel lomp bezig ....
//
Ik vond dit op www.stealthdesignz.com
Basically what happens, is where ever the folllowing code is put on your main php page, is where the the page link.php will go.
<?php
if (! file_exists("$page.php"))
{
include("updates.php");
}
else
{
include("$page.php");
}
?>
so. this code should go where you would like the content of link.php to go, in your main php file.
after you have correfctly done everything, if you get a '404' updates.php will show up by default, although you can change this.you do not have to have a file named page.php.
in the page which will be included, all of everything from the main php file will also be included there. EG - font tags.
then just rename your links to (yourfile).php?page=whatever
maja da snap ik owk nie whahaha |