Output compression

J

Jure Erznoznik

There's a setting in php.ini: zlib.output_compression = xxx

If it is set to "On", php will bzip the output of scripts so that there is
less data to transfer to the client.
I found that this setting is quite useful especially on slow connections,
but I have a slight problem with it: it also compresses output of scripts
which generate pdf files. While Mozilla / Firefox handles this well, IE
simply fails to show the document.

Is there any way to tell PHP not to compress output of certain scripts. Is
there a command for that?

Thanks,
Jure
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top