[and again to correct list] Oh your fast, i havent't finsished all tests and therefor not comitted it.
The next step of the patch is available at: http://marcus-boerger.de/php/ext/output-buffer.patch Yesturday i had some weird behaviour on shared apache module but i wasn't able to test it because currently my testmachine does not want to load the module (seems like i have to reinstall whole apache/php stuff on that machine). marcus At 08:14 09.08.2002, you wrote: >yohgaki Fri Aug 9 02:14:33 2002 EDT > > Modified files: > /php4 php.ini-dist php.ini-recommended > Log: > Added note for output_handler usage. (with Marcus and Adam's fix) > > >Index: php4/php.ini-dist >diff -u php4/php.ini-dist:1.138 php4/php.ini-dist:1.139 >--- php4/php.ini-dist:1.138 Sun Jul 28 13:25:55 2002 >+++ php4/php.ini-dist Fri Aug 9 02:14:32 2002 >@@ -89,9 +89,15 @@ > 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' >Index: php4/php.ini-recommended >diff -u php4/php.ini-recommended:1.91 php4/php.ini-recommended:1.92 >--- php4/php.ini-recommended:1.91 Sun Jul 28 13:25:55 2002 >+++ php4/php.ini-recommended Fri Aug 9 02:14:33 2002 >@@ -102,9 +102,15 @@ > 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 > > > >-- >PHP CVS Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php