troubleshooting Question

PHP file system search for file content keywords

Avatar of red_ifo
red_ifo asked on
LinuxPHP
5 Comments1 Solution679 ViewsLast Modified:
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.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros