Simple PHP local directory text file search
Posted on 2008-11-12
I have "IceWarp" running on my email server and I need a simple php script that will search selected directories full of text files and return results as text file links (links to the text file)
I know it sounds simple, but I can't seem to find anything of use that is not a search engine (google) or MySQL based solution. I cannot install MySQL so database indexing is out...
I only need the script to check text files for word matches and display them.
It would be nice if it had a cache but it is not needed.
The script needs to be able to check multiple directories and subdirectories.
I can create this in about 5 minutes in VBScript, but unfortunately I know nothing of php and my hands are tied on what to use.