title: html2pdf include html from page
body: <p>Trying to generate PDFs with <a href="http://html2pdf.fr/en/default" rel="nofollow">html2pdf</a>.  I'm able to create the PDFs from creating markup within the function itself, but what I REALLY want to do is include the markup from a separate file using a URL.</p>
  
  <p>The code I have generates a PDF, but the PDF is blank which, I assume, means not HTML is being pulled from the specified url.</p>
  
  <pre><code>require_once('html2pdf/html2pdf.class.php');
  $mlsnum = $_GET['mlsnum'];
  $url = 'http://www.nexthometown.com/components/com_singleprop/views/singleprop/tmpl/scripts/oh_usda.php?mlsnum='.$mlsnum;
  $html2pdf = new HTML2PDF('P', 'A4', 'en');
  $html2pdf-&gt;getHtmlFromPage($url);
  $html2pdf-&gt;Output($mlsnum.'.pdf','D');
  </code></pre>
  
  <p>Is anyone familiar with html2pdf?  I've gone through the docs and the examples, but I can't find any reference to this method.  I've found the definition <a href="http://wiki.spipu.net/doku.php?id=html2pdf%3aen%3av4%3aothers#the_method_gethtmlfrompage" rel="nofollow">here</a>, but it doesn't tell much.</p>