Home  >  Article  >  Backend Development  >  怎么用php获得一个空间里的所有文件名列表啊?

怎么用php获得一个空间里的所有文件名列表啊?

WBOY
WBOYOriginal
2016-06-06 20:46:47933browse

求大神帮助!!
先谢谢了

回复内容:

求大神帮助!!
先谢谢了

array scandir ( string $directory [, int $sorting_order [, resource $context ]] )

manual:http://cn2.php.net/manual/zh/function.scandir.php

http://cn2.php.net/manual/zh/class.filesystemiterator.php

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