note 90140 added to function.gzcompress
| From: | Timo at osu1 dot php dot net | Date: | Tue, 07 Apr 2009 21:48:01 +0000 |
| Subject: | note 90140 added to function.gzcompress | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152929@lists.php.net to get a copy of this message | ||
With PHP it is quite easy to modify SWF files. The compression algorithm of SWF is Zlib.
SWF default compression level is 6, at least Flash CS2 uses this level. I tested this by
uncompressing compressed SWF file and then compressed the contents with levels 0-9. With level 6,
the contents of files were identical.
Maybe it can be whatever else, but when trying to compare files at hex level or compare filesizes,
it is easier to use the same level.
----
Server IP: 80.81.171.181
Probable Submitter: 84.249.93.137
----
Manual Page -- http://www.php.net/manual/en/function.gzcompress.php
Edit -- https://master.php.net/note/edit/90140
Del: integrated -- https://master.php.net/note/delete/90140/integrated
Del: useless -- https://master.php.net/note/delete/90140/useless
Del: bad code -- https://master.php.net/note/delete/90140/bad+code
Del: spam -- https://master.php.net/note/delete/90140/spam
Del: non-english -- https://master.php.net/note/delete/90140/non-english
Del: in docs -- https://master.php.net/note/delete/90140/in+docs
Del: other reasons-- https://master.php.net/note/delete/90140
Reject -- https://master.php.net/note/reject/90140
Search -- https://master.php.net/manage/user-notes.php