Hi guyz, i'm working on a site, and i need some help on a php code for advanced file reading.
I need to implement a php code that will intelligently read the contents of a file.
When users upload the required type of file to my website,
it will read the file, and get the contents of the file,
and the contents of the file will be stored in a database.
The type of file that will be uploaded by the user to the website will be:
word documents: .doc .docx
adobe document: .pdf
text docuemnt: .txt
When the file is uploaded it will read the file, for example,
When a Job Cover Letter is uploaded:
It will read/check for date in the file
It will read and check for the applicant name, which will normally be the last text in any cover letter, or second to the last.
It will read and check for the position the applicant is applying from,
It will even be able to search the contents of the file, for specific keywords,
I need to know how i will go about this webapp in php,
if it is fgets i'll use, or perhaps there are other methods i can use.