rendered paste body<?phpif(isset($_COOKIE["firstname"])){ echo "terve " . $_COOKIE["firstname"]; echo " " . $_COOKIE["lastname"]; echo "."; } else { header("location:jep3.php");}?><html><body><FORM METHOD="LINK" ACTION="jep4.php"><INPUT TYPE="submit" VALUE="Poista nimet muistista"></FORM></body></html><?phpsetcookie(firstname, $_GET[firstname], time()+600, "/","",0);setcookie(lastname, $_GET[lastname], time()+600, "/","",0);echo "Thank you $_GET[firstname] $_GET[lastname]";exit();?><html><head><title>Jeppujee</title></head><body><form name="input" action="jep2.php" method="get">Etunimi:<input type="text" name="firstname"><br>Sukunimi:<input type="text" name="lastname"><br><input type="submit" value="submit"></form></body></html><?php setcookie( "firstname", "", time()- 60, "/","", 0); setcookie( "lastname", "", time()- 60, "/","", 0); echo "nimet poistettu";?><html><body><FORM METHOD="LINK" ACTION="jep.php"><INPUT TYPE="submit" VALUE="Uudestaan jee"></FORM>