pureDesi - 2006-09-30 23:05:07

Ok, I have a problem that I'm guessing has a very simple fix. But I can't seem to find it.
This is the exact contents of the file:

Code::

<?
setcookie("test", "", time()-30);
setcookie("test", $_GET['value'], time()+30);
echo $HTTP_COOKIE_VARS["test"];
?>

When I run it the first time, it's fine, but then everytime after that I get the following error message:

Code::

Warning: Cannot modify header information - headers already sent by (output started at /home2/monkey/public_html/main/test.html:3) in /home2/monkey/public_html/main/test.html on line 3

Anybody know what's wrong? :wacko: