P247 (第一版)
时间:2007-09-15
来源:互联网
(我的书是第一版的)这里这个代码的例子显示出来的全是乱码!!!!怎么回事??
<?php
require("./pdf/fpdf.php");
$pdf= new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial', 'B', 16);
$pdf->Cell(40,10,'Hello Out There!');
$pdf->Output();
?>
乱码:
%PDF-1.3 3 0 obj <> endobj 4 0 obj <> stream x?3R𢲐35W(��Qз3T04ӳ0PISp Ꙛ*?[????(hx?椤+?d??*j*?d?Ԃ^e? endstream endobj 1 0 obj <> endobj 5 0 obj <> endobj 2 0 obj << /ProcSet [/PDF /Text /ImageB /ImageC /ImageI] /Font << /F1 5 0 R >> /XObject << >> >> endobj 6 0 obj << /Producer (FPDF 1.53) /CreationDate (D:20070914094952) >> endobj 7 0 obj << /Type /Catalog /Pages 1 0 R /OpenAction [3 0 R /FitH null] /PageLayout /OneColumn >> endobj xref 0 8 0000000000 65535 f 0000000232 00000 n 0000000420 00000 n 0000000009 00000 n 0000000087 00000 n 0000000319 00000 n 0000000524 00000 n 0000000600 00000 n trailer << /Size 8 /Root 7 0 R /Info 6 0 R >> startxref 703 %%EOF
[ 本帖最后由 一条尸体 于 2007-9-14 17:53 编辑 ]
<?php
require("./pdf/fpdf.php");
$pdf= new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial', 'B', 16);
$pdf->Cell(40,10,'Hello Out There!');
$pdf->Output();
?>
乱码:
%PDF-1.3 3 0 obj <> endobj 4 0 obj <> stream x?3R𢲐35W(��Qз3T04ӳ0PISp Ꙛ*?[????(hx?椤+?d??*j*?d?Ԃ^e? endstream endobj 1 0 obj <> endobj 5 0 obj <> endobj 2 0 obj << /ProcSet [/PDF /Text /ImageB /ImageC /ImageI] /Font << /F1 5 0 R >> /XObject << >> >> endobj 6 0 obj << /Producer (FPDF 1.53) /CreationDate (D:20070914094952) >> endobj 7 0 obj << /Type /Catalog /Pages 1 0 R /OpenAction [3 0 R /FitH null] /PageLayout /OneColumn >> endobj xref 0 8 0000000000 65535 f 0000000232 00000 n 0000000420 00000 n 0000000009 00000 n 0000000087 00000 n 0000000319 00000 n 0000000524 00000 n 0000000600 00000 n trailer << /Size 8 /Root 7 0 R /Info 6 0 R >> startxref 703 %%EOF
[ 本帖最后由 一条尸体 于 2007-9-14 17:53 编辑 ]
作者: 一条尸体 发布时间: 2007-09-14
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28