我正在使用dompdf生成PDF,并且我将原始字符串编码为稍后将其保存到数据库中,然后将其解码,以便我可以将它作为附件发送对于电子邮件,但我无法做到这一点。我在这里尝试了两个例子:PHP Send email with PDF attachment without creating the file?和PHP get pdf file from base64 encoded data string
嗨我想将dompdf保存到codeigniter文件中的特定目录,然后将保存的文件并将其作为电子邮件发送。我使用codeigniter来完成所有这些工作。 这是功能。 public function generateCreditAggreement(){
$this->load->helper('file');
require_once(APPPATH.'third_par
我从html生成pdf。问题是如果有任何大量内容,则显示不正确。首先出现空白页,然后是内容重叠页脚,但全文不显示。其余内容正在隐藏,而不是转到下一页。我试过page-break-after:always; page-break-inside:avoid; 对这个问题有什么想法? 检查下面的代码: - $html = "Lorem Ipsum is simply dummy text of the