简体   繁体   中英

fpdf not works in ie7

i am using fpdf library for displaying pdf to viewers. All browsers displays pdf but i met a problem with ie7. since nothing is displayed.

sample pdf code i had used to check in ie.

require 'fpdf.php';
class PDF 
{
//Necessary codes for header footer body sction
}

$pdf=new PDF();
$title='Faq in Current Account';
$pdf->SetTitle($title);
$pdf->SetAuthor('Rangan');
$content="This is a sample content";
$pdf->PrintChapter(1,'title',$content);
$pdf->Output();

Add ?q=123 to the url you are calling and change the number every time you call it again when debugging. This prevents your browser and the PDF plugin to cache your request and previous errors.

我花了大约5秒钟的时间才能在FPDF常见问题解答中找到

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM