Honestly, coding a search script that can handle multiple file types from the ground up is a pretty large project. On top of that, it will be extremely slow, since it has to decode every file into a machine-readable format, search it, and display the results. One option is to set a cron job (daily task) where a script turns new files into the new format and stores it, so it can search them quickly when needed. Either way, it's a pretty in-depth process that requires a lot of work. Google honestly is your best bet here.
|