Advertisement
NeverPool

Untitled

Mar 14th, 2011
462
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.70 KB | None | 0 0
  1. <?php
  2.     setcookie('font_size', '', time() - 600, '/', '', 0); //This deletes the cookie, it sets the value to 10 minutes ago, which is a rather unorthodox method, but it works for small things like this.
  3.     setcookie('font_color', '', time() - 600, '/', '', 0);
  4. ?>
  5. <!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/xhtml1/DTD/xhtml1-transtional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  9. <title>Reset Your Settings</title>
  10. </head>
  11. <body>
  12. <p>Your settings have been reset! Click <a href="view_settings.php">here</a> to go back to the main page. </p>
  13. </body>
  14. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement