Login   Register  
PHP Classes
elePHPant
Icontem

Class: Class Grep Search

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cinu Chacko  >  Class Grep Search  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Class Grep Search
Base name: classgrepsearch
Description: Search files in directories like grep
Related classes: , , , , , ,
Version: 1.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 545 users
All time rank: 4299
Week users: 0 users
Week rank: 2590
Picture of Cinu Chacko
Author: Cinu Chacko <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: India India - PHP jobs in India
Age: 36
All time rank: 2430149 in India India
Week rank: 2261 Up148 Up in India India


  Detailed description  
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.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Searching Search engines, crawling and indexing View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file 11.txt Data example text files
Plain text file ClassGrepSearch.inc.php Class Main Class
Plain text file exampleSearch.php Example Called from exampleSearchForm.php which executes the commands
Plain text file exampleSearchCustomFunctions.php Aux. Customizable Functions used with the Search.
Plain text file exampleSearchForm.php Example Main form which starts the demo.
Plain text file getFileContents.php Aux. Display file contents.
Plain text file readme.txt Doc. Class Documentation and License

Download all files: classgrepsearch.tar.gz classgrepsearch.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.