I am writing a file storage system using PHP on a Linux server. I would like to be able to type a keyword in and search all of the file content in a certain directory for that keyword. This system is capable of storing xls, xlsx, doc, docx, pdf, txt, and rtf files. My question is: does PHP include any kind of capability to search file content of these types of files without reading each file in to memory (there are going to be over 1000 files stored)? Or can I use the operating system to do the search and read the results? Will Linux do a content search of these file types?
I am at a loss as to where to search for the answers to this problem.
Thank you for your time.