I’m just starting out with PHP and am working on setting cookies. Here is the code I enter when I get a “Warning: Cannot modify header information - headers already sent by (output started at /home/unknown/public_html/julian/phpcookie.php:8) in /home/unknown/public_html/julian/phpcookie.php on line 10":
<?php $value = 'Datapimp'; setcookie ("username", $value,time()+3600, "/julian/", "unknowndesigns.net", 0); ?> </body>
I’m sure it’s just my n00b PHP mind.
Thanks in advanced,