RE: [PHP] Output Buffering - Am I using it correctly?
| From: | Beau Hartshorne | Date: | Wed, 25 Sep 2002 19:32:21 +0000 |
| Subject: | RE: [PHP] Output Buffering - Am I using it correctly? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117630@lists.php.net to get a copy of this message | ||
> Can you get the server to write it to a file, and then let the client
> download the file normally?
> [/snip]
>
> Believe me, if I could have taken that way out I would have done it. I
am
> researching some classes, but they all seem to take just as long to
create
> the spreadsheet.
What about something like this:
1. Script loads. Script writes everything to some file.
2. Script is finished writing everything to file.
4. Script does a browser redirect and the user starts downloading the
file normally.
It just seems like the server doesn't want to have to deal with
streaming a large database result set to a web browser.
Beau