Re: Decompress a zlib'd string in PHP

From: Date: Thu, 27 Oct 2005 02:53:25 +0000
Subject: Re: Decompress a zlib'd string in PHP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-224704@lists.php.net to get a copy of this message
On Wed, October 26, 2005 12:34 pm, Graham Anderson wrote: > The compressor in the file data says: dcomzlib Okay, now we are getting somewhere. dcomzlib is, most likely, not the same as zlib. > I tried the below with gzinflate and with gzuncompress. > Both give errors: > gzinflate(): data error > gzuncompress(): data error And this pretty much clinches it, mostly, assuming you passed in the right data. "DE789CB552BF6F133114F65D2852A50A7568E14041B2A00B120CB081549514860CA9545 And this is just "data" with not much we can do to guess about its format. However, I surfed to http://info.com/dcomzlib and the very first link (also the only one in English) was to: http://sourceforge.net/mailarchive/forum.php?forum_id=9050&max_rows=25&style=nested&viewmonth=200205 where somebody pretty much tells you how to decompress this, I think. (I didn't read the WHOLE thing, mind you) S/He also raises the question of the legality of doing this, which you may also wish to consider before proceeding. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#224704) next »