How does php directly display office documents and PDF files on the webpage?

Source: Internet
Author: User
How does php directly display office documents and PDF files on a webpage? It is displayed directly on the webpage and arranged in the correct way, just as it is displayed on the client! & Nbsp; I used & lt; ahref = & quot; & gt; & lt;/a & gt; link, under mac, safari can be directly displayed on the webpage, but in windo php, how can I directly display office documents and PDF files on the webpage?
It is displayed directly on the webpage and arranged in the correct way, just as it is displayed on the client!
I used a link. on a mac, safari can be directly displayed on a webpage. However, when I use ie in windows, I am prompted to open or save it, open the client directly!
I want to click to display it directly on the webpage. how can this problem be achieved?

------ Solution --------------------
In fact, chrome under win can also be opened directly, which is related to the browser. the old guy like ie may have to install plug-ins.
------ Solution --------------------
The browser can only open files that it can recognize. if a download dialog box appears, the browser does not recognize the files.
You need to install the corresponding program or plug-in
------ Solution --------------------
Discussion

The browser can only open files that it can recognize. if a download dialog box appears, the browser does not recognize the files.
You need to install the corresponding program or plug-in

------ Solution --------------------
To unify the performance of all browsers, there is only one way to convert these files into HTML format on the server side.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.