11-17-2010, 10:47 PM
|
#4 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
Two similar ideas:
- First put the files into an array using opendir/readdir/closedir, then sort that array with one of the array sorting functions.
- or, use the glob() function to retrieve an array of the files sorted in alphabetical order.
|
|
|
|