PHP script to search file directory, and sub-directories
| From: | Jacob Kruger | Date: | Fri, 18 Jul 2014 08:42:17 +0000 |
| Subject: | PHP script to search file directory, and sub-directories | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-31289@lists.php.net to get a copy of this message | ||
Put this together when trying to find pieces of code in a piece of directory structure containing
over 3000 PHP files, and where wanted to be able to look up which page some or other function call
was referring to, since things like fileDir were often enough sort of locking up doing a similar
search:
https://dl.dropboxusercontent.com/u/13327195/file_search.zip
It returns file paths, and if you click on/hit enter on a file list item, it will bring up the
prompt dialogue to let you then copy the full path to the clipboard, to then paste it into the file
open dialogue of an editor like edSharp, etc.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."