Re: page reloading
| From: | Donna Robinson | Date: | Thu, 02 May 2002 15:26:07 +0000 |
| Subject: | Re: page reloading | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95702@lists.php.net to get a copy of this message | ||
On Thursday 02 May 2002 3:08 pm, Dan Hardiker wrote:
> Replace "exit;" with "fclose( $fp );".
Nope - tried this way back when - if you rtfm you will see that the file is
closed when fpassthru() is done reading it. If you use fclose what you get
is this:
PHP Warning: 27 is not a valid File-Handle resource in ...
> Please note that headers must be sent before any other output.
yah i know this - it's the major source of my problem!
> What you are trying to achieve can be done with refresh headers (either
> html-meta or http).
Huh? pls explain.
Donna