ok
Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/www/salemgovtitialumni.in/ |
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/www/salemgovtitialumni.in/test.php |
<?php namespace Dompdf; require_once 'pdf/autoload.inc.php'; ini_set('memory_limit', '-1'); $htmldata=''; include 'id-cart-content.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($fileNo."-".$name."-".$description.".pdf"); $dompdf->stream($download_name.'.pdf',array("Attachment" => true)); exit(0); ?>