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

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

WBOY
Release: 2016-06-06 20:46:47
Original
956 people have browsed it

求大神帮助!!
先谢谢了

回复内容:

求大神帮助!!
先谢谢了

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

Related labels:
php
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