You are here: Re: [PHP] zlib.output_compression « PHP « IT news, forums, messages
Re: [PHP] zlib.output_compression

Posted by "david forums" on 07/12/05 15:09

do not forget to remove ob_start, also you'll make double compression

regards

Le Tue, 12 Jul 2005 12:29:02 +0200, LacaK <lacak@users.sourceforge.net> a
écrit:

> Thank you,
> I know this technique : ob_start('ob_gzhandler');
> but I am interesting on : ini_set('zlib.output_compression', true);
> /this is preffered method as stated in manual :
> Also note that using ini.zlib.output_compression is preferred over
> ob_gzhandler(). /
> And I do not understand, why it does not works ?
> I have reported it as a bug ...
> LacaK.
>
> Jasper Bryant-Greene wrote:
>> To turn it on:
>> ob_start('ob_gzhandler');
>> To turn it off:
>> while(@ob_end_clean());
>> header('Content-Encoding: identity');
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация