Home >Backend Development >PHP Tutorial > php压缩文件后出现的解压异常

php压缩文件后出现的解压异常

WBOY
WBOYOriginal
2016-06-13 13:19:581099browse

php压缩文件后出现的解压错误
我把文件夹压缩成zip。压缩之后,还要下载到本机,服务器上的zip文件解压是正常的,但是下载到本机的zip,只要有图片或者是pdf等类型的文件时,就不能解压,说文件被损坏,这怎么办啊

------解决方案--------------------
压缩或下载时没有用二进制方式打开文件吧?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn