Hi all. Here i have a small script that reads content of a folder and prints it name out. But the problem is that if i have a subfolder like this /mp3/andy/ it does not read and print the content of that folder. Is there a way to over come this problem?Thanks


Code:
<?php 
$folder=dir("./mp3"); 

while($folderEntry=$folder->read()){ 
echo $folderEntry."<br>"; 
} 

$folder->close(); 

?>