how to search the content of txt file
View Single Post
10-26-2007, 06:06 PM
Join Date: Apr 2007
COM is a part of the PHP core (formerly a PHP extension before PHP5) for Windows, to allow working with external programs. Since you're getting the "not defined" error then you're either not on Windows or are using PHP4 without the COM extension installed. Using the COM, as in the example code that you posted, allows PHP to actually talk to Word itself, directly, rather than just manipulating the doc file in PHP.
Edit: Here's a link to the
in the PHP manual.
Last edited by Salathe : 10-26-2007 at
View Public Profile
Send a private message to Salathe
Visit Salathe's homepage!
Find More Posts by Salathe