How to list files and folders using PHP.

files and foldersYou can use the glob() PHP function to list all the files and folders in the current directory using the following code.

Read more about this function at: PHP: glob – Manual.

Posted in Blog Tagged with: , ,