/* The intellectual property of this website is the property of Clayton Singh. This code may not be copied or used in derived works for commercial or otherwise. */ if (!array_key_exists('p',$_GET) || $_GET['p'] == "") { Header( "HTTP/1.1 301 Moved Permanently" ); //Header( "Location: http://z903.ve7alb.net/capstone/home" ); // Fully Resolve later Header( "Location: http://capstone.cs.camosun.bc.ca/June2012/home" ); exit; } $page = preg_replace("#[^A-Za-z0-9 _]#", "-", $_GET['p']); $page = trim( $page , '-'); if ($page != $_GET['p']) { Header( "Location: http://capstone.cs.camosun.bc.ca/June2012/" . $page ); exit; } include_once("inc/config.php"); ?>