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:
<?
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:
Warning: Cannot modify header information - headers already sent by (output started at /home2/monkey/public_html/main/test.php:3) in /home2/monkey/public_html/main/test.php on line 3
Anybody know what's wrong? 
Offline