<?php include("./class.rename.php") ; $image = new RenameFile() ; //define the directory where to look for images $dir = "./files" ; //define the new name of the files $name = "img" ; $image->RenameFileInDir($dir, -1, $name); ?>
info at phpclasses dot org