PHP Classes

PHP Delete Files Recursively: Delete files traversing directories recursively

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 212 All time: 7,441 This week: 1,225Up
Version License PHP version Categories  
delete-files 1.1GNU General Publi...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: 3703253 in India India
Week rank: 1529 Up115 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:212All time:7,441
 This week:0This week:1,225Up