/* open new PDF file; insert a file name to create the PDF on disk */
if (PDF_begin_document($p, "", "") == 0) {
die("Error: " . PDF_get_errmsg($p));
}
/* This line is required to avoid problems on Japanese systems */
PDF_set_parameter($p, "hypertextencoding", "winansi");
PDF_set_parameter($p, "SearchPath", "C:\\WINNT\\Fonts");
目前,FPDF 网站已无法打开。作者: ttl_web 时间: 2008-09-29 10:38 标题: 回复 #1 smlxp 的帖子 拷贝您的代码到cn.php
执行后提示
Fatal error: Call to undefined function pdf_begin_document() in D:\xampp\htdocs\zs\cn.php on line 10