diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2002-08-09 06:14:33 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-08-09 06:14:33 +0000 |
commit | 70ef3f67f37d77c50086d456c6c30fe8968e9caa (patch) | |
tree | 2a3a6fd8f89d7a2cb19ee43921bbceaae1a50087 | |
parent | 1ae29d455c71f8a1fd329f8850278c249646beed (diff) | |
download | php-git-70ef3f67f37d77c50086d456c6c30fe8968e9caa.tar.gz |
Added note for output_handler usage. (with Marcus and Adam's fix)
-rw-r--r-- | php.ini-dist | 12 | ||||
-rw-r--r-- | php.ini-recommended | 12 |
2 files changed, 18 insertions, 6 deletions
diff --git a/php.ini-dist b/php.ini-dist index 97ec48f59f..cfd948c7b7 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -89,9 +89,15 @@ y2k_compliance = Off output_buffering = Off ; You can redirect all of the output of your scripts to a function. For -; example, if you set output_handler to "ob_gzhandler", output will be -; transparently compressed for browsers that support gzip or deflate encoding. -; Setting an output handler automatically turns on output buffering. +; example, if you set output_handler to "mb_output_handler", character +; encoding will be transparently converted to the specified encoding. +; Setting any output handler automatically turns on output buffering. +; NOTE: People who wrote portable scripts should not depend on this ini +; directive. Instead, explicitly set the output handler using ob_start(). +; Using this ini directive may cause problems unless you know what script +: is doing. +; NOTE: You cannot use both "mb_output_handler" with "ob_inconv_handler" +; and you cannot use both "ob_gzhandler" and "zlib.output_compression". output_handler = ; The unserialize callback function will called (with the undefind class' diff --git a/php.ini-recommended b/php.ini-recommended index acd5459060..036c7fb87d 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -102,9 +102,15 @@ y2k_compliance = Off output_buffering = 4096 ; You can redirect all of the output of your scripts to a function. For -; example, if you set output_handler to "ob_gzhandler", output will be -; transparently compressed for browsers that support gzip or deflate encoding. -; Setting an output handler automatically turns on output buffering. +; example, if you set output_handler to "mb_output_handler", character +; encoding will be transparently converted to the specified encoding. +; Setting any output handler automatically turns on output buffering. +; NOTE: People who wrote portable scripts should not depend on this ini +; directive. Instead, explicitly set the output handler using ob_start(). +; Using this ini directive may cause problems unless you know what script +: is doing. +; NOTE: You cannot use both "mb_output_handler" with "ob_inconv_handler" +; and you cannot use both "ob_gzhandler" and "zlib.output_compression". output_handler = ; Transparent output compression using the zlib library |