/*******************************************/
/* 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
|