我在这里下载了这个php类 filetotext (http://www.phpclasses.org/package/8908-PHP-Convert-DOCX-DOC-PDF-to-plain-text.html),它允许我将pdf和word转换成我可以轻松解析的php字符串。 但它有这个php函数flush();使用ob_flush();在decodePDF()方法中始终生成此异常
(!)致命错误:未捕获的异常' Zend_Controller_Response_Exception'有消息'无法发送标题;标题已经发送到第0行'在第323行的C:\ wamp \ www \ Jobs \ trunk \ library \ Zend \ Controller \ Response \ Abstract.php
我该如何解决这个问题? 感谢
答案 0 :(得分:0)
参见Abstract.php.Don`t在设置标题之前使用echo。