Php List Files

[Solved] Php List Files | Php - Code Explorer | yomemimo.com
Question : php list *files

Answered by : milad-abooali

foreach(glob(IMAGEPATH.'*') as $filename){ echo basename($filename) . "\n";
}

Source : https://stackoverflow.com/questions/3738270/listing-all-images-in-a-directory-using-php | Last Update : Sat, 11 Sep 21

Answers related to php list files

Code Explorer Popular Question For Php