rfeio Posted March 12, 2009 Share Posted March 12, 2009 Hi, I would appreciate any help anyone could give me on this subject. I need to create a script that does: 1. Upload files (allowed formats): PDF, Word Doc, RTF, JPG, GIF, BMP 2. Validate that the file format uploaded corresponds to the ones allowed 3. Search inside PDF, Word Doc and RTF files. I'm ok with uploading the files, but I don't know how to validate their formats and how to do a search inside a PDF, DOC or RTF file. Cheers, R Link to comment https://forums.phpfreaks.com/topic/149177-need-help-working-with-pdf-doc-and-image-files/ Share on other sites More sharing options...
MadTechie Posted March 13, 2009 Share Posted March 13, 2009 You can check the file mime and/or extension, to search inside you need to parse the file (really depends what your looking for, inside) Link to comment https://forums.phpfreaks.com/topic/149177-need-help-working-with-pdf-doc-and-image-files/#findComment-783437 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.