PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am trying to make a search page of sorts, where the user can type in various things such as a name, account number, etc., and it will search a specific folder that has several subfolders of pdf files. I need it to actually search inside the file, and not just the file name. It then needs to return all files that match the criteria, and the user can click on each of them to view them. These files aren't in a database, just in a directory on my web server. I really don't even know where to start. Can anyone help me out?
Thanks!!!
That will recursively search for $searchstring in all files and sub-dirs in /starting/directory/ and suppress all messages except for matches and will return filenames.
That will recursively search for $searchstring in all files and sub-dirs in /starting/directory/ and suppress all messages except for matches and will return filenames.
Hahaha... but mine looks better... OK maybe not I cant remember if grep is binary safe or not.