scandir

scandir

(PHP 5, PHP 7)

scandirList files and directories inside the specified path

Description

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

Returns an array of files and directories from the directory.

Parameters

directory

The directory that will be scanned. 登录查看完整内容