[HELP] Cannot Output Headers error

Status
Not open for further replies.

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:
1wR0i
 

Jo$h

Posting Freak
Jul 7, 2010
1,030
79
Wow. I am such a dumbfuck. -_- That's all I needed to do the whole time.

Thank you Very much Mark!
 
Status
Not open for further replies.

Users who are viewing this thread

Top