note 43181 added to ref.zlib

From: Date: Sat, 12 Jun 2004 07:44:16 +0000
Subject: note 43181 added to ref.zlib
Groups: php.notes 
Request: Send a blank email to php-notes+get-70956@lists.php.net to get a copy of this message
If you use "zlib.output_compression = On" in your php.ini file, and activates output buffering (ob_start), don't output this header : header('Content-Length: '.ob_get_length()); This is because ob_get_length() will return the uncompressed size while zlib will compress the output. Thus your browser will get confused waiting for extra data that will never come. ---- Manual Page -- http://www.php.net/manual/en/ref.zlib.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43181 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43181&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43181&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70956) next »