Hi,
cookies must be set before any headers or html code:
Wrong:
....
<?PHP setcookie(......); ?>
....
Wrong:
empty line or any spaces before calling setcookie(), e.g.:
<space><space><maybe empty line>
<?PHP setcookie(......); ?>
....
Right:
<?PHP setcookie(......); ?>
Right:
<?PHP
<tons of php code without any output>
setcookie(.......);
?>
Greetings,
Thomas