D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
home
/
shubmkcj
/
urbane.createerp.com
/
Filename :
testpdf.php
back
Copy
<?php require ('config.php'); $html = 'kod w html'; include("mpdf/mpdf.php"); //$mpdf=new mPDF('A4'); $mpdf = new mPDF('c', 'A4', '', '', 0, 0, 0, 0, 0, 0); $stylesheet = file_get_contents('assets/css/template.css'); $mpdf->WriteHTML($stylesheet,1); $mpdf->showImageErrors = true; $mpdf->SetDisplayMode('fullpage'); $mpdf->WriteHTML($html); $mpdf->Output(); exit; ?>