get_folder_files

array get_folder_files (string path [, bool subdirs [, bool fullname [, string mask [, forcelowercase]]]])

Returns an array with all files of subdirectory path. If subdirs is TRUE, includes subdirectories recursively. Set fullname to TRUE to include the complete path to each file. mask should be a PCRE regular expression. Set forcelowercase to FALSE if you do not want file names to be converted to lowercase.

See also

Auxiliary functions