Hi,
Using PHP, how do I search through all .php files contained in a folder (set by user) for a word (also set by user)?
Upon finding occurrences of the specified word, how do I display the line number and file path it is in?
use file() and strpos() Just loop through the array and search for the word with strpos()
Also note that you can use [man]glob/man to get an array of all .php files in a directory