Raidmax Posted May 11, 2012 Share Posted May 11, 2012 I need to do some searching through PDF or Doc files, whichever will be more efficient. All the files will be in one folder, and I've written a script that will let me search the file names just fine. Each file though, has a header, with the actual title of of the document, since sometimes the file names are abbreviated. How would I search through the document (only the header) and return the matching results? If you need a sample document, let me know. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/262412-searching-through-pdfs-docs/ Share on other sites More sharing options...
3cool4school Posted May 12, 2012 Share Posted May 12, 2012 I might be able to help, I'd like to see a sample. Quote Link to comment https://forums.phpfreaks.com/topic/262412-searching-through-pdfs-docs/#findComment-1344959 Share on other sites More sharing options...
awjudd Posted May 12, 2012 Share Posted May 12, 2012 Find a PDF / DOC parser and make that do it for you? There are several online (findable by google). ~awjudd Quote Link to comment https://forums.phpfreaks.com/topic/262412-searching-through-pdfs-docs/#findComment-1344969 Share on other sites More sharing options...
Raidmax Posted May 12, 2012 Author Share Posted May 12, 2012 Hi there, here are 2 samples, on in PDF, on in DOC. I'd prefer searching the PDF, as it's more a distribution format. 18350_.pdf 18353_.doc Quote Link to comment https://forums.phpfreaks.com/topic/262412-searching-through-pdfs-docs/#findComment-1344996 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.