title: How to pre-fill a PDF online?
body: <p>I start with dynamic data, and an empty PDF file to be filled.
  How could I fill up the pdf using the dynamic data ?</p>
  
  <hr>
  
  <p>EDIT :
  I found a way to fill up the pdf with <a href="http://fpdpf.org" rel="nofollow">FPDF.org</a> and a <a href="http://www.fpdf.org/en/script/script93.php" rel="nofollow">plugin</a>.</p>
  
  <ol>
  <li>First, add form fields to your PDF using softwares such as Acrobat Pro or LiveCycle, and prepare the PDF online or offline using PDFtk : <code>pdftk modele.pdf output modele2.pdf</code></li>
  <li>Place data into arrays and fill the pdf with JS following the plugin instructions</li>
  </ol>
  
  <p>Here it is, we get our PDF filled!</p>
  
  <p>Now, I just need to flatten the form, in order to prevent the user to change the field options. Is there a way to do it, using either FPDF or PDFlib which is installed on my shared host?</p>