Mega Code Archive

 
Categories / Php / File Directory
 

Glob() Constants

GLOB_MARK       Append a slash to filenames that are really directories.   GLOB_NOSORT     Do not sort the returned filenames.   GLOB_NOCHECK    If no files were found that match the filemask, return the filemask instead of an empty array.   GLOB_ONLYDIR    Match only directories that meet the filemask.