Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php if ($_SERVER["REQUEST_METHOD"] == "POST") { echo file_get_contents("snippets/" . $_POST['page'] . ".html"); }
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
echo file_get_contents("snippets/" . $_POST['page'] . ".html");
}