Login   Register  
PHP Classes

Class: Class Grep Search

Icontem
elePHPant

  Classes of Cinu Chacko  >  Class Grep Search  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Class Grep Search Support forum
Base name: classgrepsearch
Description: Search files in directories like grep
Version: 1.0
Required PHP version: 5.0
License: GNU General Public License (GPL)
 
  Author   Group folder image Groups   Detailed description  
  Applications   Files Files  

Author

Picture of Cinu Chacko
Name: Cinu Chacko <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: India India - PHP jobs in India
Home page: http://www.seraphimtech.net/

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

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.

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

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.