<?php
session_start ();
?>
<form method="POST" action="./form1.php">
<input type="text" name="text1"></input>
<input type="submit"></input>
</form>
<?php
echo session_id () . "<br>\n";
setcookie ("Cookie56", "COOKIE56", time () + 3600);
echo htmlentities ($_POST ["text1"]) . "<br>\n";
echo htmlentities ($_COOKIE ["Cookie56"]) . "<br>\n";
echo htmlentities ($_COOKIE ["Cookie56a"]) . "<br>\n";
session_destroy ();
?>