Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
04/02/2003 05:45:50
|
Anonymous
|
I get this warning on top of page when vote.
Warning: Cannot add header information - headers already sent by (output started at /home/acypaaor/public_html/home.php:2) in /home/acypaaor/public_html/poll2/poll_cookie.php on line 22
I checked line 22 and says:
setcookie($cookie_name, "1", $endtime);
How do I get rid of this error and still use cookies enabled?
I would like script to run with cookies enabled it works fine with cookies unenabled.
Chris
|
|
16/02/2003 22:18:10
|
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.
If not email me: victor@openworldmedia.com
|
|
|
|
|
|
Based on the open source JForum
|