title: FPDF and PHP: Help merging PDF forms with text fields without losing text data?
body: <p>I have PDF form files that I fill out dynamically with PHP using FPDM (the FPDF script). I can save them on my server no problem, and the text all looks fine in the PDF when I download and view in Acrobat.</p>
  
  <p>My problem is: I'm trying to merge multiple PDF files together on the server so the user can download a single PDF document with several pages. I downloaded PDF Merger (<a href="http://pdfmerger.codeplex.com/" rel="nofollow">http://pdfmerger.codeplex.com/</a>) and got it merging the files together, but this causes the PDF form text to disappear.</p>
  
  <p>Anyone know of a form-friendly PHP-based PDF merger that doesn't require installing anything (other than uploading libraries) to my server?</p>
  
  <p>Code that works for merging but kills text in form boxes:</p>
  
  <pre><code>$pdfCombined= new PDFMerger;
  
  $pdfCombined-&gt;addPDF('../forms/generated/16.pdf', 'all')
          -&gt;addPDF('../forms/generated/19.pdf', 'all')
          -&gt;merge('browser', 'mergedDoc.pdf');
  </code></pre>