$value) $page[] = htmlentities(stripslashes($key)); // allowed pages $pages = array('index'); // the first element in the $page array $tpage = in_array($page[0], $pages) ? $page[0] : null; // writes color to session if isset if(isset($_GET['c'])) $_SESSION['c'] = $_GET['c']; // index if the page is null function index(){ $bodytext = "Welcome to my page!"; } if($tpage == null) index(); else{ // if called page is in array, then show that page.. else show index if(in_array($tpage, $pages)) $tpage(); else index(); } function head(){ ?> bmwboy.com - brandon's piece of the web


 
welcome to my corner of the web
you really probably won't find anything you want here, I hardly ever finish anything I start...

random crap i like
 
11.03.07 - I'm back

© 2006-2007 brandonw, some rights reserved.