//nastavení global ... MOC NEVIM, ALE ABY FUNGOVALY PROMENNY :) foreach ($_GET as $get_key => $get_value) { eval("\$$get_key=htmlspecialchars(\$get_value);"); } foreach ($_POST as $post_key => $post_value) { eval("\$$post_key=htmlspecialchars(\$post_value);"); } foreach ($_SERVER as $server_key => $server_value) { eval("\$$server_key=\$server_value;"); } foreach ($_COOKIE as $COOKIE_key => $COOKIE_value) { eval("\$$COOKIE_key=\$COOKIE_value;"); } if (empty($page)) $page="inspiro"; require("./php/menu.php"); ?>
|