<?php
session_start ();
?>
<form method="GET" action="./form1.php">
<input type="text" name="text1"></input>
<input type="submit"></input>
</form>
<?php
echo session_id () . "<br>\n";
setcookie ("Cookie42", "DIES_IST_COOKIE_42", time () + 3600);
echo htmlentities ($_GET ["text1"]) . "<br>\n";
echo htmlentities ($_COOKIE ["Cookie42"]) . "<br>\n";
echo htmlentities ($_COOKIE ["Cookie42a"]) . "<br>\n";
?>