load_html($_POST["html"]); $dompdf->set_paper($_POST["paper"], $_POST["orientation"]); $dompdf->render(); $dompdf->stream("dompdf_out.pdf", array("Attachment" => false)); exit(0); } ?>
Enter your html snippet in the text box below to see it rendered as a PDF: (Note by default, remote stylesheets, images & inline PHP are disabled.)
(Note: if you use a KHTML based browser and are having difficulties loading the sample output, try saving it to a file first.)
User input has been disabled for remote connections.