Author |
Message |
12/06/2002 06:06:28
|
Anonymous
|
Warning: Cannot add header information - headers already sent by (output started at ....www/php/html/header.inc.php:2) in
...www/pollphp/poll_cookie.php on line 21
This warning keeps happening. No problems though (poll works). Aside from setting warnings OFF in php how can I get rid of this warning? What causes it?
pollphp
|
|
22/06/2002 08:29:47
|
Waldo
Beginner
Joined: 22/06/2002 08:11:13
Messages: 6
Offline
|
I'm getting this error as well..along with permissions errors, even though I did everything the readme files said to do. I'm too zonked to really try to figure it out now on my own (eyes crossing) but maybe another day ... if I figure it out I'll post another reply, but otherwise would also welcomg any assistance...
:)
|
|
22/06/2002 15:24:53
|
Anonymous
|
To eliminate that error you must delete any "empty" line from the php file. Just a simple Enter in the file can lead to this error. Eliminate also the comments until the session is created.
Make a search using Google for the words "header already sent " and you'll find good articles about it.
|
|
|