Php 用于批处理入口票证的fpdf缓存
我想在服务器上用fpdf(twpdf)从SQL创建票据。 问题是,所有的票都有以前的滴答声中的数据Php 用于批处理入口票证的fpdf缓存,php,caching,output,fpdf,Php,Caching,Output,Fpdf,我想在服务器上用fpdf(twpdf)从SQL创建票据。 问题是,所有的票都有以前的滴答声中的数据 $pdfdoc = $twpdf->Output('./rechnung/Eintrittskarte_' . $arrDat['rechnungsnummer']."_".time().".pdf", "S"); header('Cache-Control: private, max-age=0, must-revalidate'); header('Cache-Control: max
$pdfdoc = $twpdf->Output('./rechnung/Eintrittskarte_' . $arrDat['rechnungsnummer']."_".time().".pdf", "S");
header('Cache-Control: private, max-age=0, must-revalidate');
header('Cache-Control: max-age=0');
header("Cache-Control: private",false); // required for certain browsers
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // any date in the past
header('Content-Type: application/pdf');
header('Content-Length: '.strlen($pdfdoc));
header('Content-Disposition: inline; filename="doc.pdf"');
header('Pragma: public');
ini_set('zlib.output_compression','0');
“输出”后的电子邮件中附加了该票证,与下一个票证相同。我不确定您在问什么或问题出在哪里。你能进一步澄清吗?