Php uses the javashui API to read and display Word documents.

Source: Internet
Author: User

Php uses the javashui API to read and display Word documents.

This article mainly introduces php's use of javashui APIs to read and display Word documents.

A small problem occurs in the project. If you want to implement php to read the word document and display its content as is, you can use the API to view the APPKEY written by mongohui.com, you can see... restrictions on free versions

For example, for excel support, you can refer to my application for this appkey. You can use it...

Save the cost of opening an html file and use it directly

Word is similar

?

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

<! DOCTYPE html PUBLIC "-// W3C // dtd html 4.01 Transitional // EN" "http://www.w3.org/TR/html4/loose.dtd">

<Html>

<Head>

<Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8">

<Title> test the Remote API of baihuigege </title>

</Head>

<Body>

<Form action = "http://gege.baihui.com/remotedoc.im? Apikey = 079c6475174c7a46351260ed35e54mcm & output = editor "target =" _ self "enctype =" multipart/form-data "method =" post ">

Upload file: <input type = "file" name = "content" site = "38"/>

<Input type = "hidden" name = "filename" value = "my.xls,my.xlsx"/>

<Input type = "hidden" name = "saveurl" value = "http://vai.com"/>

<Input type = "hidden" name = "id" value = "21012145"/>

<Input type = "hidden" name = "format" value = "xlsx"/>

<Input type = "hidden" name = "persistence" value = "true"/>

<Input type = "submit" value = "submit"/>

</Form>

</Body>

</Html>

The above is all the content of this article. I hope you will like it.

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.