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