mpdfを使用してhtmlをpdfに変換していますが、問題は生成されたpdf内にpdfを表示しています
私は私が何をしているかを示すつもりです:
<div class="landscape">
<a href="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>">Download PDF</a>
<a href="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>"><embed src="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>" width="500" height="375"></a>
<embed src="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>" width="500" height="375">
<div id="pdf">
<object width="400" height="500" type="application/pdf" data="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>" id="pdf_content">
<p>Insert your error message here, if the PDF cannot be displayed.</p>
</object>
</div>
<object data="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>" type="application/pdf" width="300" height="200">
alt : <a href="<?php echo base_url().'get_image.php?i='.$plan_dir.$plan['file'];?>">test.pdf</a>
</object>
</div>
私は埋め込み、オブジェクト、および生成されたpdf内で開いていないpdfを試しました
何か案は ?