Web Development Knowledge Base
| |
Sections :
RSS Feed You too, please publish your useful code snippets in any programming language : write an article ! Plateforme d'envoi de gros fichiers en ligne Dépannage site web Blog infogérance Hébergement e-mail |
Olivier Ligny - - 19/08/2012 - vue 40986 fois
Disable gzip compression in PHP scriptHere is simple function to disable gzip output compression in a PHP script : function disable_gzip() { @ini_set('zlib.output_compression', 'Off'); @ini_set('output_buffering', 'Off'); @ini_set('output_handler', ''); @apache_setenv('no-gzip', 1); } For the reverse thing see : how to enable gzip compression.
Kevin - 05/07/2014
Awesome snippet, thanks!
|
Nos partenaires : iPhone 8 Cases & Protection |