Hi,
I set a cookie like this :
setcookie("memberid", $memberid, time() + 3600 24 730);
But I get the following error message : "Cannot add header information - headers already sent by..."
My cookie is not set !
What can I do ?
P.S. : I'm using the following code at the beginning of my page, I think the problem could be because of it :
<?
// session created ? if not, create one
if ($PHPSESSID)
session_start($PHPSESSID);
else
session_start();
?>
Thanks for helping.