Login   Register  
PHP Classes
elePHPant
Icontem

File: demo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alf-Red  >  Rename  >  demo.php  >  Download  
File: demo.php
Role: Example script
Content type: text/plain
Description: demo for the class
Class: Rename
Rename all files from directory
Author: By
Last change: .
Date: 2005-09-27 11:25
Size: 250 bytes
 

Contents

Class file image Download
<?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);

?>