PHP Classes

Classes of Cinu Chacko

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Cinu Chacko (1)  >  Mission progress status  >  Reputation  
Picture of Cinu Chacko
Name: Cinu Chacko <contact>
Classes: 1
Country: India India
Age: 48
All time rank: 2826173 in India India
Week rank: 225 Up20 in India India Up
All time users: 705
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Class Grep Search  
Search files in directories like grep
This class can be used to search files in directories like the Unix command grep.

It can traverse a given directory recursively and search for a given text the contents of files with a given list of file name extensions.

The path of the files that have the given text is stored in a class array variable and the class returns the number of occurrences.

The idea of the class was inspired on the Grep Simulator class written by Er. Rochak Chauhan.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z