Posted By

ursdeep on 06/10/15


Tagged

php command search code directory utility tool


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

ursdeep
JeffSFO


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


 / Published in: PHP
 

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

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

  1. Here is a simple utility created in PHP which searches text in all the files of given folder.
  2. 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.

Report this snippet  

You need to login to post a comment.