how to read a subfolder content?
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();
?>
Re: how to read a subfolder content?
If you have revieved an answer to your question, in another thread or by yourself, could you please mark this thread as resolved.
Thanks