Hi there, I'm trying to get my header functions in my includes to work and i've been staring at this for waaay to long.
basically I'm trying to set a cookie in a script that is part of an include
so i've got
<? phpstuff ?>
<head>
</head>
<html>
<body>
some html
<?include file.inc?>
more html
</body>
</html>
The problem is the cookies cause the page to explode with a "Warning: Cannot modify header information - headers already sent by" error... I have almost the exact same code working on another site i just can't figure out what's wrong with it.
Thanks,
-Ryan