开发者

archive created by ZipArchive object are corrupted

开发者 https://www.devze.com 2023-01-14 23:08 出处:网络
I used the function described in the following URL to c开发者_如何学编程reate some zip files programatically which turned out to be working wonderful on the development site:

I used the function described in the following URL to c开发者_如何学编程reate some zip files programatically which turned out to be working wonderful on the development site:

http://davidwalsh.name/create-zip-php .

Thing is, when I uploaded the website to the production server, the file created seemed to be corrupted. winrar has given me "unexpected end of archive" error. the archive could be fixed by winzip tools, so obviously all the data is in there. I'd like to know why such thing should happen, and how can i fix it ?

0

精彩评论

暂无评论...
验证码 换一张
取 消