I would like to set a cookie with some php code after the initial HTML. Is this possible? When I try to set a cookie inside my HTML I get the dreaded "headers already sent warning" Is there a way to keep those headers from being sent or do you have to set cookies before anything else.
setCookie("lastpoll", $id, time()+2590000);