Re: Saving Dynamically Generated Pages
| From: | Wolfram Kriesing | Date: | Fri, 09 Nov 2001 14:33:46 +0000 |
| Subject: | Re: Saving Dynamically Generated Pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74021@lists.php.net to get a copy of this message | ||
> Im considering writing all the update information to a datafile
> before displaying it to the user, say through an include(); What I
> would like to do is direct the output (all my prints) to that
> report file. It seems though that I might have to go through my
> code and explicitly use fputs to accomplish this task.
have a look at "output buffering"
http://www.php.net/manual/en/function.ob-start.php
this way you can send output you actually send to the browser save in
a buffer and do with it whatever u want :-)
--
Wolfram