Return to Snippet

Revision: 13632
at April 30, 2009 00:02 by Dean_IconWeb


Initial Code
$files = scandir($directory);
foreach($files as $key=>$name){
	$oldName = $name;
	$newName = strtolower($name);
	rename("$directory/$oldName","$directory/$newName");
}

Initial URL

                                

Initial Description

                                

Initial Title
Rename files to lowercase

Initial Tags

                                

Initial Language
PHP