
Scott McCandless - 2016-08-22 16:09:18
I created a zip file and opened it in a Hex editor. The last 3 bytes were 00 00 00. I added that same file using ZipMerge and the file now ends in 00 00 00 00 00. When I unzip the file I get a message that says "There are some data after the end of the payload data". As a quick and dirty test I modified "/grandt/phpzipmerge/src/ZipMerge/Zip/Stream/ZipMerge.php" line 211 to be "$this->zipWrite(substr(''.$this->eocd, 0, -2));" The problem seems to be fixed. Not sure where those to additional 00 00 bytes come from.
Thanks for a GREAT utility!
Scott