用到的系统函数有:opendir(),readdir(),closedir()。
opendir():
resource opendir ( string $path [, resource $context ] ) //path 要打开的目录路径 //context context 参数的说明见手册中的 Streams API 一章。
打开一个目录句柄,可用于之后的 closedir(),readdir() 和 rewinddir() 调用中。
用到的系统函数有:opendir(),readdir(),closedir()。
opendir():
resource opendir ( string $path [, resource $context ] ) //path 要打开的目录路径 //context context 参数的说明见手册中的 Streams API 一章。
打开一个目录句柄,可用于之后的 closedir(),readdir() 和 rewinddir() 调用中。