【问题标题】:fpdf not works in ie7fpdf 在 ie7 中不起作用
【发布时间】:2010-12-20 18:35:04
【问题描述】:

我正在使用 fpdf 库向查看者显示 pdf。所有浏览器都显示pdf,但我遇到了ie7的问题。因为什么都没有显示。

我用来签入 ie 的示例 pdf 代码。

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();

【问题讨论】:

    标签: php fpdf


    【解决方案1】:

    ?q=123添加到您正在调用的url中,并在每次调试时再次调用它时更改号码。这可以防止您的浏览器和 PDF 插件缓存您的请求和以前的错误。

    【讨论】:

      【解决方案2】:

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

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2012-02-09
        • 2012-07-21
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2010-10-21
        相关资源
        最近更新 更多