puoi usare questo: http://it.php.net/manual/it/function.readdir.php c'è anche un esempio di come usarlo
Regole del Forum