Gzip and zlib

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lcidw
Forum Commoner
Posts: 58
Joined: Mon Apr 28, 2003 8:55 am
Location: Netherlands

Gzip and zlib

Post by lcidw »

I'm totally confused now..

Can somebody tell/show me the difference between gzip and zlib encoding, as they are in php.ini (ob_gzhandler, zlib.output_compression, ..)

First i thought gzip and zlib where two complete different compression libraries, but it seems they're from the same, both gzip. Then i don't see the difference anymore in using them in php, though php.ini still gives me the impression they're totally different.. Even using them together ives corrupted code back to the browser.

like clouds in dark woods..

M. Vek
Post Reply