Here is my Code :::
<?php
if ($handle = opendir('images/')) {
echo "Directory handle: $handle\n";
echo "Entries:\n";
while (false !== ($entry = readdir($handle))) {
echo "$entry\n";?><br/>
<?php }
/* This is the WRONG way to loop over the directory. */
while ($entry = readdir($handle)) {
echo "$entry\n";
}
closedir($handle);
}
?>
Output : login.php
loop1.php
My Music
My Pictures
note.xml
saveeditor.php
select.php
In this listing MY Music is folder but i did not open the folder.... Any solution for this particular problem....