PHP可以实现让会员上传word文档,其后读取内容到数据库吗

WBOY
Release: 2016-06-13 11:50:46
Original
1555 people have browsed it

PHP可以实现让会员上传word文档,然后读取内容到数据库吗?
PHP可以实现让会员上传word文档,然后读取内容到数据库吗?
不要用com组件的方式实现
有二进制流的读取的代码吗?
谢谢
------解决方案--------------------
参见此文:

<br />http://www.phpclasses.org/package/7934-PHP-Convert-MS-Word-Docx-files-to-text.html<br />
Copy after login

------解决方案--------------------
PHP没有自带读取word文件的类,或者是库,这里我们使用antiword(http://www.winfield.demon.nl/)这个包来读取doc文件.

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