Bill
public php v1 · immutable<?phperror_reporting(E_ALL);$errors = array();foreach(glob('*') as $image) { if(!rename($image, strtolower($image))) { $errors[] = "{$image} was not renamed!"; } else { echo "{$image} was renamed!<br>"; }}print_r($errors);?>