Author |
Message |
31/01/2003 04:47:02
|
Anonymous
|
Unfortunately I get the following error when I 'enable' the cookies...
Warning: Cannot add header information - headers already sent by (output started at /home/fil/public_html/blog/index.php:9) in /home/fil/public_html/blog/poll/db/poll_cookie.php on line 21
Any Idea of this? I've checked line 21 of poll_cookie.php and I dont see anything wrong.
If I comment the 'include' on the first part of the script, all works fine but the cookies of course dont work.
Any help would be greatfull...thank you.
|
|
01/02/2003 15:53:29
|
Anonymous
|
Got it working...nevermind.
|
|
03/02/2003 11:01:53
|
Anonymous
|
How did you solve it, got the same problems.
Seems like that cookie.php can't be loaded a second time or something.
Got no php experience , please help!
|
|
04/02/2003 05:48:08
|
Anonymous
|
How do I get rid of this error and still have cookies enabled. Please respond.
Thanks
Chris
|
|
16/02/2003 23:12:57
|
Anonymous
|
ok, here is what you should do:
Put this lines of code before
<html> tag, NOT AFTER!
<?php
include_once "/home3/www/breia/anticlan/pollphp/textfile/poll_cookie.php";
?>
Hope it helps.
|
|
18/02/2003 16:09:37
|
Anonymous
|
Also, i don't know why, but make sure that the first line of your page containing script is not a blank line, but start of the php code: <?php, like that.
Victor
|
|
|