PHP expert |
|
[code]phprn$aPagina = array('login','loguit','al','je','paginas','hier');rnif(isset($_GET['action']))rn {rn if(in_array($_GET['action'],$aPagina))rn {rn $sUrl = (isset($_GET['contenttype'])) 'contenttype='.$_GET['contenttype'] '';rn include $_GET['action'].'.php'.$sUrl;rn }rn elsern {rn include 'standaard_pagina.php';rn }rn }rnelsern {rn include 'standaard_pagina.php';rn }rn[code] |