PHP Classes

File Searcher: Search for files in directories recursively

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2004-03-17 (12 years ago) RSS 2.0 feedStarStarStar 53%Total: 2,536 This week: 1All time: 1,454 This week: 1,129Up
Version License Categories
filesearcher 1.0Free for non-comm...Files and Folders, Searching
Description Author

This class is meant to execute searches for files inside a given directory.

The class can traverse directories recursively as an option.

It can search for files given a list of space delimited patterns that define extensions contained in the last 3 characters of the names of the files that are meant to be found. For instance, the pattern "txt htm" makes the class return for all files with the name ending in txt or htm.

As a result the class returns an array with the paths of all the files that were found during the search.

Picture of Cristian Rusu
Name: Cristian Rusu <contact>
Classes: 2 packages by
Country: Romania Romania
Age: 42
All time rank: 62411 in Romania Romania
Week rank: 608 Up11 in Romania Romania Equal

  Files folder image Files  
File Role Description
Plain text file FileSearcher Class Class to search for files
Accessible without login Plain text file Usage.php Example How to use the class file

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:1,454
This week:1,129Up
 User Ratings  
 All time