Need a real PHP expert to solve these specific technical challenges:
Implement coding in LAMP environment, no antiword, no API calls:
1. Correctly identify the number of pages of uploaded document by web user (file formats: DOC, DOCX, RTF, PPT, PDF)
2. Extract the DOC (and DOCX, and PDF and Excel) files component texts: Header, Footer, endnotes and print on screen in it's own category;
As final deliverable, you shall include the basic multifile uploader and display interface for required information.