Return to Snippet

Revision: 69383
at June 10, 2015 00:51 by ursdeep


Initial Code
Here is a simple utility created in PHP which searches text in all the files of given folder.
It expects two parameter, first parameter as text to be search and second parameter as folder path. If second parameter is not provided then it will search in current directory.

Initial URL
https://techfiddler.wordpress.com/2015/06/09/an-utility-to-search-text-in-all-files-of-any-directory-in-php/

Initial Description
An Utility to Search Text in All Files of Any Directory in PHP

Initial Title
An Utility to Search Text in All Files of Any Directory in PHP

Initial Tags
php, command, search, code, directory

Initial Language
PHP