You can just set output_handler in your php.ini file to automatically buffer and compress everything.
On Fri, 17 May 2002, Jason Soza wrote: > Hmmm... So if I -wanted- to buffer the entire page using ob_gzhandler, > I wouldn't use ob_implicit_flush(), correct? Or would this be > beneficial in this case? The way I read the manual page on > ob_implicit_flush() is that it flushes after each output call. Would > that mean that ob_start("ob_gzhandler") would compress the output, then > ob_implicit_flush() would display that compressed output at each call? > > Either way, is there any way to tell if my output is really being > compressed by ob_gzhandler? > > Jason Soza > > ----- Original Message ----- > From: Miguel Cruz <[EMAIL PROTECTED]> > Date: Friday, May 17, 2002 10:39 am > Subject: Re: [PHP] ob_start() and ob_gzhandler > > > On Fri, 17 May 2002, Jason Soza wrote: > > > Am I doing something wrong? Shouldn't the ob_start() by itself > > just > > > load all output into a buffer and not display it until I call > > ob_flush> ()? > > > > Or when you get to the end of execution... > > > > http://php.net/ob_implicit_flush > > > > miguel > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php