Home > Backend Development > PHP Tutorial > PHP reads word documents and displays them through baihui.com API, _PHP tutorial

PHP reads word documents and displays them through baihui.com API, _PHP tutorial

WBOY
Release: 2016-07-13 09:49:04
Original
916 people have browsed it

php reads word documents and displays them through baihui.com API.

I encountered a small problem in the project. I want to realize how to read word documents in php and save the content as it is. Show

You can use the API. You can check out the API of baihui.com's writing application

You can use it by applying for an APPKEY, you can see... There are restrictions on the free version

For example, for excel support, you can refer to the appkey I applied for and you can use it...
Save it as a local html file and use it directly after opening

Similar to word

<!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>测试百会格格远程API</title>
</head>
<body>
<form action="http://gege.baihui.com/remotedoc.im&#63;apikey=079c6475174c7a46351260ed35e54ecd&output=editor" target="_self" enctype="multipart/form-data" method="post">
上传文件: <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="提交" />
</form>
</body>
</html>
Copy after login

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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1020541.htmlTechArticlephp reads word documents and displays them through baihui.com API. I encountered a small problem in the project and wanted to implement php How to read a word document and display its content as is using the API. You can take a look...
Related labels:
php
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