recursive glob ?
Posted: Sat Jan 30, 2010 9:22 pm
Good day to you all,
is there a way that I can use glob recursive ly in the following code ?
Thanks!
is there a way that I can use glob recursive ly in the following code ?
Code: Select all
<?PHP
foreach(glob('Photos/*', GLOB_ONLYDIR) as $dir) {
echo '<b>'.$dir.'</b><br>';
}
?>
Thanks!