doesn’t work , it’s ok I think =)
from an external site ?
Hmm //
Going to try that
<?
function checkPage($page) {
//Controle
if($page==”index”) return false;
$page.=”.php”;
return file_exists($page);
}
$pagina=$_GET[‘x’];
if(!isset($pagina) || empty($pagina)) $pagina=”index”;
if(checkPage($pagina)) include($pagina.”.php”);
else{
?>
Normal content //
<? } ?>
Sorry , here you are 🙂