Home > Backend Development > PHP Tutorial > php如何实现把一个目录上的所有文件都上载上来

php如何实现把一个目录上的所有文件都上载上来

WBOY
Release: 2016-06-13 10:42:48
Original
959 people have browsed it

php怎么实现把一个目录下的所有文件都下载下来
下载单个文件是可以的,但是整个目录的文件都下下来可以吗?

------解决方案--------------------
取得文件列表 循环...
要不呢?给你打好包?
------解决方案--------------------
压缩成zip就跟单个文件下载一样了。

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