note 72656 added to function.ob-gzhandler
| From: | nicolas dot grekas+php at gmail dot com | Date: | Sun, 28 Jan 2007 18:45:50 +0000 |
| Subject: | note 72656 added to function.ob-gzhandler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-122300@lists.php.net to get a copy of this message | ||
Here are some precisions :
- the "mode" arg accepts a bit field composed of PHP_OUTPUT_HANDLER_START,
PHP_OUTPUT_HANDLER_CONT and PHP_OUTPUT_HANDLER_END. See http://www.php.net/manual/fr/ref.zlib.php#56216
for an example. The value that jazfresh recommends below (5) is the good one, because 5 ==
PHP_OUTPUT_HANDLER_START | PHP_OUTPUT_HANDLER_END.
- when called INSIDE an output buffering handler, ob_gzhandler DOES NOT return false when the
browser doesn't support compressed pages. It rather returns the original string.
----
Server IP: 194.246.101.61
Probable Submitter: 81.57.178.244
----
Manual Page -- http://www.php.net/manual/en/function.ob-gzhandler.php
Edit -- https://master.php.net/note/edit/72656
Del: integrated -- https://master.php.net/note/delete/72656/integrated
Del: useless -- https://master.php.net/note/delete/72656/useless
Del: bad code -- https://master.php.net/note/delete/72656/bad+code
Del: spam -- https://master.php.net/note/delete/72656/spam
Del: non-english -- https://master.php.net/note/delete/72656/non-english
Del: in docs -- https://master.php.net/note/delete/72656/in+docs
Del: other reasons-- https://master.php.net/note/delete/72656
Reject -- https://master.php.net/note/reject/72656
Search -- https://master.php.net/manage/user-notes.php