On Thursday 02 May 2002 4:26 pm, Donna Robinson wrote:
> > What you are trying to achieve can be done with refresh headers (either
> > html-meta or http).
> Huh? pls explain.
Forget it - I figured it out. If I send this along with the rest of the
headers everything is just peachy:
$url = $PHP_S
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-Hand
Hi,
> The problem is that I can never get the html stuff output *after*
> having included "download.inc" because of the "exit;" call -- which I
> have to have else the html gets output and downloaded as well (and I
> don't understand why fpassthru doesn't stop at EOF on $fp).
[...]
> downloadt
3 matches
Mail list logo