header("refresh : 5; $url");
i used the above code to refresh the contents of a page every 5 seconds.
but i got the following errosr
Warning: Cannot modify header information - headers already sent by (output started at c:\rss\magpie_s imple_2.php:3) in c:\rss\magpie_s imple_2.php on line 86
so i added these two lines
header("Cache-Control: no-cache, must-revalidate");
header("Expires : Mon, 26 Jul 1997 05:00:00 GMT");
even after that am getting the same warning for the above code.
pls help.its important
i used the above code to refresh the contents of a page every 5 seconds.
but i got the following errosr
Warning: Cannot modify header information - headers already sent by (output started at c:\rss\magpie_s imple_2.php:3) in c:\rss\magpie_s imple_2.php on line 86
so i added these two lines
header("Cache-Control: no-cache, must-revalidate");
header("Expires : Mon, 26 Jul 1997 05:00:00 GMT");
even after that am getting the same warning for the above code.
pls help.its important
Comment