note 100288 added to function.gzinflate
| From: | bmcgavinatgmaildotcom at osu1 dot php dot net | Date: | Wed, 06 Oct 2010 11:57:36 +0000 |
| Subject: | note 100288 added to function.gzinflate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-172997@lists.php.net to get a copy of this message | ||
spikeles_ at hotmail dot com : If you use gzcompress() and gzuncompress(), then these functions are
compatible with the Java Inflater class.
Your tip worked well for uncompressing data, but when I had to compress data with PHP and uncompress
it in Java, I kept getting 'Unexpected end of ZLIB stream' exceptions because as well as
the two byte header there is a four byte footer which gzinflate/gzdeflate don't produce, but
gzcompress/gzuncompress do.
----
Server IP: 69.147.83.197
Probable Submitter: 80.254.147.68
----
Manual Page -- http://www.php.net/manual/en/function.gzinflate.php
Edit -- https://master.php.net/note/edit/100288
Del: integrated -- https://master.php.net/note/delete/100288/integrated
Del: useless -- https://master.php.net/note/delete/100288/useless
Del: bad code -- https://master.php.net/note/delete/100288/bad+code
Del: spam -- https://master.php.net/note/delete/100288/spam
Del: non-english -- https://master.php.net/note/delete/100288/non-english
Del: in docs -- https://master.php.net/note/delete/100288/in+docs
Del: other reasons-- https://master.php.net/note/delete/100288
Reject -- https://master.php.net/note/reject/100288
Search -- https://master.php.net/manage/user-notes.php