list directory Archives - 7-Views
List Files and Directories using glob in PHP
This function allows us to perform a search for path names using wildcards. which is similar to the rules used by common shells. Having the following parameters: $pattern (mandatory): The search pattern $flags (optional): One or more flags. GLOB_MARK – Adds a slash to each directory returned GLOB_NOSORT – Return files as they appear in the directory […]