setcookie("uname", $name, time()+36000);
But it always says:
"Warning: Cannot modify header information - headers already sent"
They say to put it on the very first line with no spaces, which i do, like this:
<?php setcookie("mycookie", $name, time()+36000); ?>
Im using IIS with XP Pro, and have PHP 4.3 installed... why wont it work?
**edit, wow i cant believe no one could answer this EASY question, but after reading many documents, i figured out that i hadent declared the $name variable, meanwhile all the gay tutorials didnt happen to MENTION THIS LITTLE FACT....


