Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Delete a cookie
SUBMITTED BY:
henry1874w
DATE:
June 21, 2017, 11:32 p.m.
FORMAT:
Text only
SIZE:
193 Bytes
Raw
Download
Tweet
HITS:
204
Go to comments
Report
<!DOCTYPE html>
<?php
// set the expiration date to one hour ago
setcookie("user", "", time() - 3600);
?>
<html>
<body>
<?php
echo "Cookie 'user' is deleted.";
?>
</body>
</html>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus