News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
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




Similar Posts

DevShed: Factoring Content Boxes with the Factory Pattern in PHP 5

DevShed: Composing Messages in HTML for MIME Email with PHP

DevShed: Parsing Web Document Nodes with the Tidy Library in PHP 5

DevShed: Building PDF Documents with PHP 5

Tim Priebe's Blog: Content Management Systems Demystified


Community Events







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


developer zend cakephp job example mysql framework PHP5 releases ajax package code security application book PEAR release zendframework conference database

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