Home

2D Design

3D Design

Other Design

Web Design


Wallpaper


Programming

Contact

'contact_form.php', //if the url has to redirect to another page or dir 'test3' => 'about.php' ); $content = 'home.php'; if(isset($_GET['page']) && array_key_exists($_GET['page'], $contentPages)){ $content = trim($contentPages[$_GET['page']]); } elseif (isset($_GET['page'])) { $content = trim($_GET['page']).'.php'; } function checkURL($url) { if(!@include('docdir/' . $url)) { throw new Exception("Failed to include 'script.php'"); } } try { checkURL($content); } catch(Exception $e) { //header('Location: error404'); include('docdir/error404.php'); } //include('content/' . $content); ?>
Copyright Aegisgraphics All Rights Reserved