PHP expert |
|
Weer de zoveelsternrn[code] rn$map = '';rn$ext = '.php';rnif(isset($_GET['pagina']))rn {rn if(eregi('http',$_GET['pagina']))rn {rn include 'error.php';rn }rn elseif(file_exists($map.$_GET['pagina'].$ext))rn {rn include $map.$_GET['pagina'].$ext;rnrn }rn elsern {rn include 'error.php';rn }rn }rnelsern {rnrn include 'home.php';rn }rn[code] |