kymbrik
11/21/2017 - 1:31 PM

PHP: Get list of all filenames contained within my images directory [duplicate]

 foreach(glob('./images/*.*') as $filename){
     echo $filename;
 }