note 19811 deleted from function.setcookie by sniper

From: Date: Wed, 11 Dec 2002 07:18:07 +0000
Subject: note 19811 deleted from function.setcookie by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40732@lists.php.net to get a copy of this message
These three simple pages seem to work in IE5.5 at least (now in two, not three posts): upcookie.php: <?php setcookie("TestCookie", $email, time() + 3600*24*60); // Expire in 60 days ?> <html> Cookie Set:<br> <form> <input type="button" value="Back" onClick="window.location='cookie.php'"> </form> <br> </html> rcookie.php: <?php setcookie("TestCookie", "$TestCookie", time() – 3600*48); // Erase ?> <html> Cookie Reset:<br> <form> <input type="button" value="Back" onClick="window.location='cookie.php'"> </form> <br> </html>

« previous php.notes (#40732) next »