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


/ Published in: PHP
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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.

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.