//if(!empty($_POST))file_put_contents("postdata.txt", print_r($_POST,1).print_r($_COOKIE,1).print_r($_SESSION,1), FILE_APPEND); if ($_GET['content'] == '/intern/startseite') @require_once ('lib/texte/alt_startseitenpopup.txt'); if ($_GET['content'] == '/betteln') @require_once ('lib/texte/alt_bettelseitenpopup.txt'); //if(!empty($_POST))file_put_contents("postdata.txt", "p:".print_r($_POST,1)."c:".print_r($_COOKIE,1)."s:".print_r($_SESSION,1)."g:".print_r($_GET,1)."f:".print_r($_FILES,1), FILE_APPEND); $_GET['content'] = str_replace('.','',$_GET['content']); $check = explode("../",$_GET['content']); if (isset($check[1]) && $check[1]!='') { echo 'Zugriff verweigert!'; exit; } @include_once('lib/header.php'); @include_once('content'.$_GET['content'].'.php'); //if(!empty($_POST))file_put_contents("postdata.txt", "content: $_GET[content]\n", FILE_APPEND); //if(!empty($_POST))file_put_contents("postdata.txt", print_r($_GET,1), FILE_APPEND); @include_once('lib/footer.php'); ?>