Just a small code review.Is there a better way to get all folder names?<?php$folders = glob(dirname(__FILE__) . '/myFolder', GLOB_ONLYDIR);foreach ( $folders as $f ) {    $lastDsPos = strrpos($v, DIRECTORY_SEPARATOR);    $myFolders[] = substr($v, $lastDsPos+1);}
Retrieving all directorie names (relative path)
php;php5