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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to