Categories
PHP

PHP: Search for Files Inside Folder and Sub-Folder

To find all png files inside uploads directory we can use following code.
This would search in all sub-directories as well.

Leave a Reply