<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Extracting text from Word Documents via PHP and COM</title>
	<atom:link href="http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/</link>
	<description>Keeping webmasters up-to-date on technology.</description>
	<lastBuildDate>Sat, 13 Mar 2010 12:34:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Adam David</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/comment-page-1/#comment-26444</link>
		<dc:creator>Adam David</dc:creator>
		<pubDate>Sat, 13 Mar 2010 12:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-26444</guid>
		<description>I used the ZEND IDE and i am new in PHP development i try your code and get this error!!!

Debug Error: PHPDocument1 line 3 - Uncaught exception &#039;com_exception&#039; with message &#039;Parameter 0: Type mismatch.
&#039; in PHPDocument1:3
Stack trace:
#0 PHPDocument1(3): variant-&gt;Open(false)
#1 C:\Program Files\Zend\ZendStudio-5.5.1\bin\php5\dummy.php(1): include(&#039;PHPDocument1&#039;)
#2 {main}
  thrown

Please tell me what should i do next? PLZ its my FYP!!!</description>
		<content:encoded><![CDATA[<p>I used the ZEND IDE and i am new in PHP development i try your code and get this error!!!</p>
<p>Debug Error: PHPDocument1 line 3 &#8211; Uncaught exception &#8216;com_exception&#8217; with message &#8216;Parameter 0: Type mismatch.<br />
&#8216; in PHPDocument1:3<br />
Stack trace:<br />
#0 PHPDocument1(3): variant-&gt;Open(false)<br />
#1 C:\Program Files\Zend\ZendStudio-5.5.1\bin\php5\dummy.php(1): include(&#8216;PHPDocument1&#8242;)<br />
#2 {main}<br />
  thrown</p>
<p>Please tell me what should i do next? PLZ its my FYP!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kirubakaran</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/comment-page-1/#comment-18083</link>
		<dc:creator>Kirubakaran</dc:creator>
		<pubDate>Wed, 21 Oct 2009 07:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-18083</guid>
		<description>The same error will be occur for me.
The code is working properly in the localhost but its not working in the linux server. I am also using the PHP code.
please solve the problem.

Thanks,
Kirubakaran.</description>
		<content:encoded><![CDATA[<p>The same error will be occur for me.<br />
The code is working properly in the localhost but its not working in the linux server. I am also using the PHP code.<br />
please solve the problem.</p>
<p>Thanks,<br />
Kirubakaran.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SOPHY SEM</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/comment-page-1/#comment-18082</link>
		<dc:creator>SOPHY SEM</dc:creator>
		<pubDate>Wed, 21 Oct 2009 06:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-18082</guid>
		<description>i test your code in localhost, but nothing happen. the browser just keep running.

thank.</description>
		<content:encoded><![CDATA[<p>i test your code in localhost, but nothing happen. the browser just keep running.</p>
<p>thank.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pankaj</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/comment-page-1/#comment-16986</link>
		<dc:creator>Pankaj</dc:creator>
		<pubDate>Thu, 10 Sep 2009 07:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-16986</guid>
		<description>Extracting text from Word Documents via PHP and COM:(I have implemented your code in my application it is working properly in my localhost.
But in server i am getting the following error.
Fatal error: Class &#039;COM&#039; not found in /home/iworklac/public_html/projects/chh/beta/view_cv.php on line 87
The code is not working in linux server.
please tell me how to run this code without errors in linux server.

Thanks,
Pankaj</description>
		<content:encoded><![CDATA[<p>Extracting text from Word Documents via PHP and COM:(I have implemented your code in my application it is working properly in my localhost.<br />
But in server i am getting the following error.<br />
Fatal error: Class &#8216;COM&#8217; not found in /home/iworklac/public_html/projects/chh/beta/view_cv.php on line 87<br />
The code is not working in linux server.<br />
please tell me how to run this code without errors in linux server.</p>
<p>Thanks,<br />
Pankaj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shanker</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/comment-page-1/#comment-5138</link>
		<dc:creator>shanker</dc:creator>
		<pubDate>Fri, 26 Sep 2008 07:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-5138</guid>
		<description>Extracting text from Word Documents via PHP and COM:(I have implemented your code in my application it is working properly in my localhost.
But in server i am getting the following error.
Fatal error: Class &#039;COM&#039; not found in /www/htdocs/v138698/LSP/QuickQuote/index2.php on line 223
The code is not working in linux server.
please tell me how to run this code without errors in linux server.

Thanks in advance,

Shanker</description>
		<content:encoded><![CDATA[<p>Extracting text from Word Documents via PHP and COM:(I have implemented your code in my application it is working properly in my localhost.<br />
But in server i am getting the following error.<br />
Fatal error: Class &#8216;COM&#8217; not found in /www/htdocs/v138698/LSP/QuickQuote/index2.php on line 223<br />
The code is not working in linux server.<br />
please tell me how to run this code without errors in linux server.</p>
<p>Thanks in advance,</p>
<p>Shanker</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/comment-page-1/#comment-3458</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 09 Aug 2008 20:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-3458</guid>
		<description>// Extract content.
$content = (string) $word-&gt;ActiveDocument-&gt;Content;

This command does work, however it only brings back the plain text of the document, you loose all the formatting of the original document.

Do you know how you can get the formatted text (spacing, tabs, bolding, fonts...) of the word document back into php ?

Thanks.</description>
		<content:encoded><![CDATA[<p>// Extract content.<br />
$content = (string) $word-&gt;ActiveDocument-&gt;Content;</p>
<p>This command does work, however it only brings back the plain text of the document, you loose all the formatting of the original document.</p>
<p>Do you know how you can get the formatted text (spacing, tabs, bolding, fonts&#8230;) of the word document back into php ?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akash Mehta</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/comment-page-1/#comment-331</link>
		<dc:creator>Akash Mehta</dc:creator>
		<pubDate>Thu, 17 Apr 2008 01:40:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-331</guid>
		<description>@John: The best way is to install a Word-file-reading application on the server, and call the binary via exec(). Try http://directory.fsf.org/project/catdoc/, wv or antiword. This blog post - http://tech.forumone.com/archives/53-Extracting-text-from-Office-and-PDF-files.html - may also help.</description>
		<content:encoded><![CDATA[<p>@John: The best way is to install a Word-file-reading application on the server, and call the binary via exec(). Try <a href="http://directory.fsf.org/project/catdoc/" rel="nofollow">http://directory.fsf.org/project/catdoc/</a>, wv or antiword. This blog post &#8211; <a href="http://tech.forumone.com/archives/53-Extracting-text-from-Office-and-PDF-files.html" rel="nofollow">http://tech.forumone.com/archives/53-Extracting-text-from-Office-and-PDF-files.html</a> &#8211; may also help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/comment-page-1/#comment-329</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 16 Apr 2008 22:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-329</guid>
		<description>Have you figured out a way to do this on a unix box?</description>
		<content:encoded><![CDATA[<p>Have you figured out a way to do this on a unix box?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
