PHPで単語文書を文字列に変換するには、かなり信頼できる方法が必要です。PHPで単語文書を読む
私はちょうどアンチワードをインストールしました。これはdocとdocxの両方の多くのファイルで動作しますが、特定のドキュメントに問題があり、エラーが発生します。"ファイル名はWord文書ではありません"です。私はこの問題に関してはこれを読んで
:
This is the new-style XML-in-a-zip-container format, which is completely different to the binary Microsoft Word formats which antiword handles most of.
There's no realistic likelihood of antiword supporting this - the last antiword upstream release was 2005-10-21 (which predates this XML format).
は、PHPでこれらの新しい形式のWord文書を読んでいくつかの方法はありますか?
おそらくhttps://github.com/PHPOffice/PHPWord? – chris85
私はそれを考慮しましたが、読んだ後にその能力について疑念を抱いています:http://stackoverflow.com/questions/20555057/how-to-read-doc-file-via-phpword – dlofrodloh