title: How to check for corrupted DOC and PDF files stored on the server with PHP?
body: <p>I have a project about creating file uploading website for my university using PHP.
  For every uploaded file, the website must check if the uploaded file is corrupted or not.
  I've been searching for and found nothing.</p>