I have a page that starts something like so:
<head>
<meta....>
<meta.... etc.>
<?php
if($something) {
setcookie("variable",$variable,time()+14400,"/",".website.ext",0);
}
?>
</head>
<body>
HTML goes here
</body>
But I'm getting a header error with that cookie:
"Oops, php3_SetCookie called after header has been sent..."
What they heck is wrong? The setcookie is between the <head></head> tags... i don't understand it
-Bob