HuyPV
Wednesday, February 10, 2010
$it = new RecursiveDirectoryIterator($dir);
foreach(new RecursiveIteratorIterator($it) as $file) {
# do something - fill your code here
}
Title:
How to rename dir by PHP
Description:
$it = new RecursiveDirectoryIterator($dir); foreach(new RecursiveIteratorIterator($it) as $file) { # do something - fill your code here }
...
Rating:
4