Jo$h
Posting Freak
- Jul 7, 2010
- 1,030
- 79
PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<?php
if(isset($_GET['snow'])) {
$snow = $_GET["snow"];
switch($snow) {
case 'n':
setcookie("snow", "no", time()+60*60*24*30);
break;
case 'y':
setcookie("snow", "", time()-3600);
break;
}
}
?>
<html>
There's the code that's causing the following: