inital commit

This commit is contained in:
2026-06-19 20:08:01 +06:00
commit 8a5abeeae4
13128 changed files with 3192007 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?php
$html = str_replace($varList,$valueList,$html);
include("mpdf60/mpdf.php");
$mpdf=new mPDF();
$mpdf->SetProtection(array("print"));
$mpdf->WriteHTML($html);
if(isset($deletionArray) && !empty($deletionArray)){
foreach($deletionArray as $key=>$value){
@unlink($value);
}
}
$mpdf->Output($file_name);
$fullPath = $file_name;
header("Cache-Control: public");
header("Content-Description: File Transfer");
header('Content-disposition: attachment;filename='.basename($fullPath));
header("Content-Type: application/pdf");
header("Content-Transfer-Encoding: Binary");
header('Content-Length: '. filesize($fullPath));
ob_implicit_flush(true);
ob_clean();
flush();
readfile($fullPath);
@unlink($fullPath);
exit;
?>