Re: [PHP] page reloading

2002-05-02 Thread Donna Robinson
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

Re: [PHP] page reloading

2002-05-02 Thread Donna Robinson
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

Re: [PHP] page reloading

2002-05-02 Thread Dan Hardiker
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

[PHP] page reloading

2002-05-02 Thread Donna Robinson
Hi, This is driving me nuts - all help appreciated! 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'