Topic awaiting preservation: Trouble with Cookies (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Canada |
posted 11-26-2003 04:08
Ok I am making a basic counter. IT puts a cookie on the persons computer and adds their number to a total. Then writes to a file. When the user comes back, if they have the cookie on their computer, then they won't be counted again. code: <?php
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 11-26-2003 04:41
You can't output anything before calling the setcookie function. besides the html you have outputting can't even have one space before your php opening tag. |