PHP输出PDF文档内容

WBOY
Release: 2016-06-23 14:02:10
Original
1256 people have browsed it

如图各位,我想用PHP输出一个PDF文档的内容到网页上,怎么实现。


回复讨论(解决方案)

php开发圣经上的。。。PDFlib Lite或者FODF 


一楼的做法好像在火狐和谷歌浏览器里面行,IE好像就不行了吧

怎么会 IE好像就不行 ???
我用的就是 IE

怎么会 IE好像就不行 ???
我用的就是 IE



我在IE中试过了真的不行


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title></head><body><embed width=100% height=300 fullscreen=yes src="http://localhost/Thinkphp.pdf"/></body></html>
Copy after login

你的ie什么版本?

4
我用的是IE8,,

这个好像要浏览器有插件才行。



ie还真不行,没有相关插件
你试试ietest就知道了

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template