PHP Classes

Search File Contents: Search files in a directory for a given text

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 1,886 This week: 1All time: 2,091 This week: 560Up
Version License PHP version Categories
searchfilecontents 1GNU General Publi...3.0Files and Folders, Searching, Text pr...
Description 

Author

This class can be used to search files in a directory for a given text phrase.

It can traverse a given directory recursively to locate files with certain file name extensions.

The class opens the files found and checks whether they contain the search phrase.

It returns an array with the list of all files that contain the search phrase.

Picture of Nick Pap
Name: Nick Pap <contact>
Classes: 4 packages by
Country: Greece Greece
Age: ???
All time rank: 5998 in Greece Greece
Week rank: 411 Up4 in Greece Greece Up

  Files folder image Files  
File Role Description
Plain text file searchFileContents.php Class class and example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,886
This week:1
All time:2,091
This week:560Up
User Ratings User Comments (2)
 All time
Utility:85%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2673