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

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

WBOY
Release: 2016-06-13 10:42:41
Original
1003 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template