note 6395 deleted from header by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 15:16:57 +0000 |
| Subject: | note 6395 deleted from header by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1161@lists.php.net to get a copy of this message | ||
I'm trying to get a frame to refresh itself every five seconds. From status.php
I send i header("Location: refresh.php"), refresh.php is a file containing only
header("Location: status.php"). I get an error message:
Warning: Cannot add header information - headers already sent by (output started at
/www/htdocs/status.php:2) in /www/htdocs/status.php on line 37
And therefore the frame is not refreshed.. Why? ..and how can I solve this problem?