dsbifvcxr458755493 2012-11-21 13:17
浏览 187
已采纳

如何使用PHP从PDF文件中提取文本?

I know there are a lot of PDF extraction methods/techniques, but I'm after a reliable text extractor for PDFs in PHP. All I want is to extract words, but not numbers and no special characters.

Any ideas of solid techniques to achieve this?

  • 写回答

1条回答 默认 最新

  • duanque3125 2012-11-21 13:28
    关注

    The Zend Framework provides Zend_Pdf, a php class that will load and parse pdf documents.

    Here is a script that shows how to extract the text from a loaded Zend_Pdf object.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部