php 怎么让office文档和pdf文件直接显示在网页中
Jun 13, 2016 pm 01:38 PM
php 如何让office文档和pdf文件直接显示在网页中?
直接显示在网页中,而且排列那些都对,就和用客户端打开显示的那样!
我用 链接,在mac下,用safari这个浏览器可以直接显示到网页上,但是在windows下用ie访问的时候提示打开或者是保存,打开直接就用客户端打开了!
我想点击直接显示到网页上,这个该怎么实现?
------解决方案--------------------
其实win下面的chrome也可以直接打开的,这和浏览器有关,像ie这样的老家伙估计就得装插件啥的了吧
------解决方案--------------------
浏览器只能打开它所能识别的文件,如果出现下载对话框,则说明浏览器不认得他
你需要安装相应的程序或插件
------解决方案--------------------
------解决方案--------------------
如果要统一所有浏览器的表现,只有一个办法,在服务端把这些文件转换成HTML格式。

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to view word documents in vscode How to view word documents in vscode

WPS and Office do not have Chinese fonts, and Chinese font names are displayed in English.

What should I do if I can't delete a Windows system dll file? Tips for completely deleting stubborn dll files

Lossless Scaling on Steam Deck OLED runs games at up to 2x FPS

3D drawing computer configuration and assembly recommendations?

3d rendering, computer configuration? What kind of computer is needed to design 3D rendering?

How to update the latest version of Bybit Exchange? Will there be any impact if it is not updated?
