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