ciao aires,

io preverei con opendir:

http://php.net/manual/en/function.opendir.php