title: Php - Upload doc, docx, pdf - extract all content
body: <ul>
  <li><p>is there anyway to perform OCR while uploading a document?</p></li>
  <li><p>can we index the entire document?</p></li>
  <li><p>can the search engine index the entire document? Even though users are required to pay to view the full document?</p></li>
  <li><p>can the document be displayed as a preview with only the selected excerpt visible and the rest blurry with the format of the document still viewable?</p></li>
  </ul>
  
  <p>I've been trying to find easy solutions to these questions using simple php functions or something that wouldn't seem like rocket science to accomplish. But everywhere I look I see people talking about ApachePOI and Solr Cell and all these server commands that I have no idea about. For the last question, i could only figure out that we can use PHPGD and generate images with blurred content, but I wasnt sure how to make that work if there was formatted text, images and tables etc in the document.</p>
  
  <p>So if someone has easy solutions, or even complicated solutions buts with EASY instructions, those will do. Something like "php document content extraction for noobs", that will start from the a-b-c's of it.</p>
  
  <p>Thank you in advance!</p>