<?php
session_start ();
?>
<form method="POST" action="./form.php">
<input type="password" name="p5"></input>
<input type="submit"></input>
</form>
<?php
echo session_id () . "<br>\n";
setcookie ("c5", "Hallo", time () + 3600);
echo htmlentities ($_COOKIE ["c5"]) . "<br>\n";
echo htmlentities ($_COOKIE ["c5a"]) . "<br>\n";
echo htmlentities ($_POST ["p5"]) . "<br>\n";
session_destroy ();
?>