Login   Register  
PHP Classes

PHP Delete Files Recursively: Delete files traversing directories recursively

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-09-24 (10 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 197 All time: 7,176 This week: 1,384Up
Version License PHP version Categories  
delete-files 1.1GNU General Public Lice...4.3PHP 5, Files and Folders
Description Author  
This class can delete files traversing directories recursively.

It can traverse a given directory recursively and delete files that match given one or more file name extensions of the files to be deleted.

The class will delete all files if no file name extension is specified.

If no file remains, it will also delete the empty directories.
Picture of Abhimanyu Sharma
Name: Abhimanyu Sharma <contact>
Classes: 1 package by
Country: India India
Age: ???
All time rank: 3582246 in India India
Week rank: 1779 Up135 in India India Up

  Files folder image Files  
File Role Description
Plain text file delete_files.class.php Class Class file to delete files recursively
Accessible without login Plain text file demo.php Example Demo file

 Version Control Unique User Downloads Download Rankings  
 0%Total:197All time:7,176
 This week:0This week:1,384Up