title: dompdf generates a pdf empty / corrupted
body: <p>I have a problem with dompdf. I'm trying to generate a PDF file through the values of a form.
  A user enters the website, fills out the fields and clicks submit. In my email I must attach a PDF with all the form values.
  I was able to integrate it into my code, but there is something wrong.
  To submit, I get the mail with the PDF, but it is damaged. (Of 0BYTE.)</p>
  
  <p>The code I've entered in includes / ajax.php.
  This is the code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>      // Generate PDF here
        require_once("../dompdf/dompdf_config.inc.php");
     spl_autoload_register('DOMPDF_autoload');
          
        $dompdf = new DOMPDF(); 
        $dompdf-&gt;load_html($message); 
        $dompdf-&gt;render(); 
        $pdf_content = $dompdf-&gt;output();
        file_put_contents('../dompdf/ordine.pdf',$pdfoutput); </code></pre>
  </div>
  </div>
  </p>
  
  <p>data users write in the form are in $message</p>
  
  <p>this is my <a href="http://pastebin.com/9P5SyVns" rel="nofollow">ajax.php</a></p>