Re: Saving Dynamically Generated Pages

From: Date: Fri, 09 Nov 2001 17:48:23 +0000
Subject: Re: Saving Dynamically Generated Pages
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-74023@lists.php.net to get a copy of this message
It appears this function is only available for PHP4+. I have been trying to stay compatible with PHP3 but maybe I should abandon this requirement. Do you know of any URLs that may provide stats on versions of PHP in use? Thanks, Chris Wolfram Kriesing wrote: > > I’m 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

« previous php.general (#74023) next »