[PHP] Re: How can I uncompress zlib data in the browser?
Thanks! It seems to work when I put this at the very top of my php file: ob_start(ob_gzhandler); When I do a tcpdump on port 80, I see a small amount of garbage with that statement and huge amount of text without it. The text displays correctly in my browser either way, so it looks like it works. - Brian Yes. Read the manual about output buffering. Also read up on Apache's site about mod_gzip. http://apache.org Now, the 64 dollar question: Will the browser *CORRECTLY* identify and decompress the gzipped data? - Brian (Be sure to remove the # symbol before replying to my email address) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: How can I uncompress zlib data in the browser?
Brian Duke wrote: Is it possible to use the zlib functions in php to compress data, send that data to the browser, then uncompress it? My clients will only be using IE so is there something in IE that will do it? Javascript? Thanks, Brian - Brian (Be sure to remove the # symbol before replying to my email address) Yes. Read the manual about output buffering. Also read up on Apache's site about mod_gzip. http://apache.org Now, the 64 dollar question: Will the browser *CORRECTLY* identify and decompress the gzipped data? -- Like music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]