I'm using zip.class.php (http://www.phpclasses.org/browse/file/19011.html) and it works fine for smaller zips but large zips get the error:

Warning: gzinflate() [function.gzinflate]: data error in /****/zip.class.php on line 224

Line 224 is:
$filedata = gzinflate($filedata);

I tried:
$filedata = gzinflate($filedata, 99999999999999999999999999999999999999999);

and it got the same error.

Any ideas? The PHP zip functions don't work on the server.

    a year later

    I am also going through with same problems ... I noticed a long list of such warnings in my error log ... but I could'nt figure out that what harm it did ... did you find any data loss or any such error??

      Write a Reply...