Revision: 48813
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 9, 2011 22:51 by ahdriel
Initial Code
if(isset($_GET['menu'])){ $menu = mysql_real_escape_string($_GET['menu']); $menu = explode('.', $menu); $ext = (isset($menu[1])) ? '.'.$menu[1] : '.php'; $link = $menu[0].$ext; if (file_exists($link)) { include '$link'; } else { include '404.php'; } } else { include 'home.php'; }
Initial URL
Initial Description
Initial Title
Nice Include by GET with Verification
Initial Tags
php
Initial Language
PHP