Recommend this page to a friend! |
Download .zip |
Info | View files (7) | Download .zip | Reputation | Support forum (2) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2008-08-20 (8 years ago) | Not enough user ratings | Total: 685 | All time: 4,548 This week: 862 |
Version | License | PHP version | Categories | |||
classgrepsearch 1.0 | GNU General Publi... | 5.0 | PHP 5, Files and Folders, Searching |
Description | Author | |||||||||||||
This class can be used to search files in directories like the Unix command grep. |
|
/*******************************************/ /* File search like Unix Grep */ /* Class Name : ClassGrepSearch /* Readme */ /* Version 1.0 , GNU India */ /* Author Sampath Nannam & Cinu Chacko */ /* http://www.seraphimtech.net */ /*******************************************/ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ------------------------------------------------------------------------------------- This is a php class to simulate searching text from files in a and Online FileSystem. The Idea was taken from class ClassForGrep developed by Rochak Chauhan. All due credit to the author, but this is much more advanced. Included Files. 1)ClassGrepSearch.inc.php -->Main Class 2)exampleSearchForm.php --> Main form which starts the demo. 3)exampleSearch.php --> Called from exampleSearchForm.php which executes the commands. 4)exampleSearchCustomFunctions.php --> Customizable Functions used with the Search. 5)getFileContents.php --> Display file contents. 6)11.txt --> Alice in Wonderland full text from Gutenberg. ------------------------------------------------------------------------------------- Installation: Copy all files in a directory of your server. For search from Subdirectory to work copy contents of aliceInWonderland.zip from http://www.seraphimtech.net/repository/aliceInWonderland.zip to the directory. Start the file "exampleSearchForm.php" with your webbrowser to see a demo... thats it. ------------------------------------------------------------------------------------- FAQ: . ------------------------------------------------------------------------------------- Ask for more modules like this in the discussion forum .... http://www.seraphimtech.net |
Files |
File | Role | Description |
---|---|---|
11.txt | Data | example text files |
ClassGrepSearch.inc.php | Class | Main Class |
exampleSearch.php | Example | Called from exampleSearchForm.php which executes the commands |
exampleSearchCustomFunctions.php | Aux. | Customizable Functions used with the Search. |
exampleSearchForm.php | Example | Main form which starts the demo. |
getFileContents.php | Aux. | Display file contents. |
readme.txt | Doc. | Class Documentation and License |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.