You are here: Re: [PHP] Decompressing a string with zlib problems « PHP « IT news, forums, messages
Re: [PHP] Decompressing a string with zlib problems

Posted by Robin Vickery on 10/19/55 11:30

On 10/28/05, Graham Anderson <grahama@siren.cc> wrote:
> I am having problems decompressing a zlib'd string located in a file.
>
> In the file headers, the compression says that it is zlib.
> But, when I 'gzinflate' the string, I get the error: gzinflate():
> data error in <b
> Is the below NOT a zlib or some strange variant ?
>
> <?php
> $hex="C0636D7664000003DE789C95533B4E [...]

Is this thread any help?

http://lists.apple.com/archives/QuickTime-java/2003/Sep/msg00038.html

Looking at your binary data in a hex editor, you've got what looks
like a cmvd header at the start. If the next four bytes are the
length of the compressed data, then you've got probably got 990 bytes
following that that you should be decompressing.

-robin

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация