Hi
Is it possible to filter the array produced by scandir?
I know it can be done with opendir and readdir if/loop functions
Here is the output from my scandir function
Array ( [0] => . [1] => .. [2] => pic_0.jpg [3] => pic_1.png [4] => pic_2.txt [5] => pic_3.jpg [6] => pic_4.gif )
I only want the files with the extensions "jpg", "png", "jpeg", "gif"
Thanks