Home  >  Article  >  Backend Development  >  求php下传文件夹代码.

求php下传文件夹代码.

WBOY
WBOYOriginal
2016-06-13 13:11:55845browse

求php上传文件夹代码........
上传一个文件夹 并在服务器上保持这个文件夹的目录结构,并把其中的文件上传上去,求思路,求方法,谢谢

------解决方案--------------------
读结构,服务器上mkdir
------解决方案--------------------
PHP做服务器没问题,问题在于,你不能使用浏览器做客户端(至少不能是常规浏览器),因为目前好像还没有哪家浏览器提供直接读目录的API。
------解决方案--------------------
浏览器读不了文件夹的吧。

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