Decompress a zlib'd string in PHP
| From: | Graham Anderson | Date: | Wed, 26 Oct 2005 16:07:22 +0000 |
| Subject: | Decompress a zlib'd string in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-224682@lists.php.net to get a copy of this message | ||
How do you decompress a zlib'd string located in a file with php ?
I need to dynamically write a password string into a movie file.....
It appears that in QuickTime movie API, all sprite variables/values are zlib'd inside the movie file
So I need to:
find the string
decompress a zlib'd string inside a file.
change its value => password=new_password
recompress the new value
write the zlib'd string back to the file
I'm sure if I can decompress the string, then it will not be too hard to do the rest :)
many thanks
g