Get all vars from POST

<?php echo "<ul>";
    foreach ($_POST as $key => $value) {
        echo "<li>".$key." : ".$value;
        echo "</li>";
    }
?>