News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Developer Tutorials Blog:
Extracting text from Word Documents via PHP and COM
March 26, 2008 @ 12:02:06

In a recent blog post Akash Mehta showed how to reach into a Microsoft document (a Word file) and pull out the content inside via a PHP script.

Communicating via COM in PHP is easy as ever; especially for people coming from a VB background where executing complex tasks in MS-applications is a piece of cake, you will feel right at home in PHP. In fact, VB COM calls can be converted to PHP COM calls in just a few simple search and replaces.

He shows how to use the COM extension in a (Windows) PHP installation to access the text inside the document and manipulate the contents however you'd like (even writing them back out to another Word file).

1 comment voice your opinion now!
com document word extract content manipulate


blog comments powered by Disqus

Similar Posts

Maarten Balliauw's Blog: Indexing Word 2007 (docx) files with Zend_Search_Lucene

Tobias Schlitt's Blog: PHP Documentor for VIM documented

SitePoint PHP Blog: CouchDb: document oriented persistence

PHP Magazine: IPM Poll Question: What Features do You Prioritize in a CMS?

David Sklar's Blog: PHP Cookbook, 2nd Edition


Community Events

Don't see your event here?
Let us know!


example interview laravel opinion release version voicesoftheelephpant laravel5 library video unittest php7 framework series security community language podcast api introduction

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework