Home  >  Article  >  Backend Development  >  PHP怎么把word用base64编码和解码

PHP怎么把word用base64编码和解码

WBOY
WBOYOriginal
2016-06-13 12:04:092049browse

PHP如何把word用base64编码和解码
要求用php把word文档用base64编码
------解决方案--------------------
echo base64_encode(file_get_contents('word文档'));

Statement:
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
Previous article:php的mail如何不发送Next article:php代码有关问题