Re: [PHP] Saving Dynamically Generated Pages

2001-11-09 Thread Chris

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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Saving Dynamically Generated Pages

2001-11-09 Thread Wolfram Kriesing

> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]