PHP Classes

PHP Delete Files Recursively: Delete files traversing directories recursively

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 217 All time: 8,299 This week: 206Up
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
  Performance   Level  
Name: Abhimanyu Sharma <contact>
Classes: 1 package by
Country: India India

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:217
This week:0
All time:8,299
This week:206Up