Php setcookie()

Hi All,

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/", "", 0); ?> 

I’m sure it’s just my n00b PHP mind. :stuck_out_tongue:

Thanks in advanced,
-Data :sketchy: