ok
Direktori : /home2/selectio/public_html/ramali.in/ |
Current File : //home2/selectio/public_html/ramali.in/pdf-download.php |
<?php namespace Dompdf; require_once 'pdf/autoload.inc.php'; ini_set('memory_limit', '-1'); $htmldata=''; include 'pdf.php'; $dompdf = new Dompdf(); $dompdf->loadHtml($htmldata); $options = $dompdf->getOptions(); $options->set(array('isRemoteEnabled' => true)); $dompdf->setOptions($options); $dompdf->set_paper("A4", "portrait"); $dompdf->render(); $dompdf->stream($download_name.'.pdf',array("Attachment" => true)); exit(0); ?>