title: Flatten PDFs in PHP?
body: <p>I wondered if it was possible to flatten PDFs using PHP? I use fpdf to create and collate from a collection of PDFs however when PHP has processed it some information is missing such as the comments.</p>
  
  <p>I get sent several thousand PDFs every month that go on the company's website. I do need to display the comments. I know I can flatten it down in Acrobat Pro by using the JavaScript debugger ( <code>this.flattenPages()</code> ). Is there anyway to automate and save the information using PHP? As long as it's displayed on the doc I'm not too bothered.</p>