Easiest way to extract images from a MS Word Document using PHP?

前端 未结 4 757
广开言路
广开言路 2021-01-06 23:48

Is this possible to extract images from MS Word Documents using PHP? And if so, how?

Requirement: Definitely old-shool doc support, but preferably both old and new.<

4条回答
  •  甜味超标
    2021-01-07 00:32

    If you are using the newer docx format it can easily be achieved because they are no more than a zip file. See the following link:

    http://www.botskool.com/geeks/how-extract-images-docx-files-using-php

提交回复
热议问题