PHP Classes / Pictoru's File Tree

Retrieve list of files and folders recursively

Pictoru's File Tree PHP Class

This class can be used to retrieve the list of files and folders of a given directory. It traverses a given directory recursively and returns an array with information about the files and folders in that directory. Each directory entry in the array has the last modification and last access time, the path, the parent directory path, the URL if the entry was to be access via the Web under a given domain, the entry type and its permissions. For files it returns the file name extension and the file size. For directories it returns an array with all entries in that directory.

Similar PHP Classes

Search in PHP Classes

Filter by tags