title: using PHP to create PDF, without using PHP's FDF functions
body: <p>Is there any way to create a FDF file within PHP without using the dead FDF functions? I am aware that you can use <code>pdftk</code> to create a PDF from an <em>existing</em> FDF file, but I need to create the FDF file first with one field value set.</p>
  
  <p>Or, is there a way to set one field in a PDF using PHP (skipping the FDF file creation) before allowing a user to download it?</p>
  
  <p>For the heck of it, I tried creating an FDF file in PHP using <code>fopen</code> - did not work. I also know there is a <code>generate_fdf</code> operation within <code>pdftk</code>, but this does not allow me to set a specific value, at least not that I can see.</p>
  
  <p>Does anybody know what an answer could be? I am pretty stuck. Unfortunately, I have no control over telling the client to scrap the full PDF (and instead use a webform). </p>