note 26619 added to function.ob-gzhandler

From: Date: Wed, 06 Nov 2002 21:33:24 +0000
Subject: note 26619 added to function.ob-gzhandler
Groups: php.notes 
Request: Send a blank email to php-notes+get-39071@lists.php.net to get a copy of this message
I have noticed that if you have the php setting for zlib.output_compression set to 'On' AND you attempt to use hte ob_gzhandler handler to ob_start () the output you get in the browser WILL be garbled in PHP 4.2.3. I'm guessing that the output buffering is compressing the output to be sent, and then zlib is doing it a second time, but the browser is only uncompressing it once. But using either one will give you the same results (compressed output from the script) -- http://www.php.net/manual/en/function.ob-gzhandler.php http://master.php.net/manage/user-notes.php?action=edit+26619 http://master.php.net/manage/user-notes.php?action=delete+26619 http://master.php.net/manage/user-notes.php?action=reject+26619

« previous php.notes (#39071) next »