<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">
<channel>
	<title>Comments for drewd</title>
	
	<link>http://drewd.com</link>
	<description>The Adventures of Carlos d'Avis</description>
	<lastBuildDate>Fri, 11 May 2012 16:42:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/drewdcomments" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="drewdcomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Reading from a Word Document with COM in PHP by ?Dariush</title>
		<link>http://drewd.com/2007/01/25/reading-from-a-word-document-with-com-in-php/comment-page-2#comment-45085</link>
		<dc:creator>?Dariush</dc:creator>
		<pubDate>Fri, 11 May 2012 16:42:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.drewd.com/index.php/?p=151#comment-45085</guid>
		<description>I want to create a word file and need your help.guide me please</description>
		<content:encoded><![CDATA[<p>I want to create a word file and need your help.guide me please</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calculating Age in PHP by JD</title>
		<link>http://drewd.com/2006/11/03/calculating-age-in-php/comment-page-1#comment-42837</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Wed, 28 Mar 2012 16:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.drewd.com/index.php/?p=119#comment-42837</guid>
		<description>If the earlier DAY of compare is today, this will not show proper representation. and that 4000 yr issue is just plain bad.  Consider refactoring to somthing more like `intval(substr(date('Ymd') - date('Ymd', strtotime($birthdate)), 0, -4))` as that is a better representation of how we humans calculate birthdays</description>
		<content:encoded><![CDATA[<p>If the earlier DAY of compare is today, this will not show proper representation. and that 4000 yr issue is just plain bad.  Consider refactoring to somthing more like `intval(substr(date('Ymd') - date('Ymd', strtotime($birthdate)), 0, -4))` as that is a better representation of how we humans calculate birthdays</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading from a Word Document with COM in PHP by Manish</title>
		<link>http://drewd.com/2007/01/25/reading-from-a-word-document-with-com-in-php/comment-page-2#comment-42442</link>
		<dc:creator>Manish</dc:creator>
		<pubDate>Wed, 14 Mar 2012 05:26:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.drewd.com/index.php/?p=151#comment-42442</guid>
		<description>hey ..
$word-&gt;Documents-&gt;Open($filename)or die("Cannot find file to convert");
its dying every time please help me out...</description>
		<content:encoded><![CDATA[<p>hey ..<br />
$word-&gt;Documents-&gt;Open($filename)or die("Cannot find file to convert");<br />
its dying every time please help me out...</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading from a Word Document with COM in PHP by Niva Hada</title>
		<link>http://drewd.com/2007/01/25/reading-from-a-word-document-with-com-in-php/comment-page-2#comment-41214</link>
		<dc:creator>Niva Hada</dc:creator>
		<pubDate>Tue, 24 Jan 2012 04:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.drewd.com/index.php/?p=151#comment-41214</guid>
		<description>how to give a exact path in webserver while opening a file in word document. in local it works while giving path like "C:/xampp/htdocs/cms/filename.txt" but how to give path to webserver.Please Help me</description>
		<content:encoded><![CDATA[<p>how to give a exact path in webserver while opening a file in word document. in local it works while giving path like "C:/xampp/htdocs/cms/filename.txt" but how to give path to webserver.Please Help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading from a Word Document with COM in PHP by bapu</title>
		<link>http://drewd.com/2007/01/25/reading-from-a-word-document-with-com-in-php/comment-page-2#comment-41148</link>
		<dc:creator>bapu</dc:creator>
		<pubDate>Sat, 21 Jan 2012 07:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.drewd.com/index.php/?p=151#comment-41148</guid>
		<description>please help me.............</description>
		<content:encoded><![CDATA[<p>please help me.............</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading from a Word Document with COM in PHP by bapu</title>
		<link>http://drewd.com/2007/01/25/reading-from-a-word-document-with-com-in-php/comment-page-2#comment-41147</link>
		<dc:creator>bapu</dc:creator>
		<pubDate>Sat, 21 Jan 2012 07:38:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.drewd.com/index.php/?p=151#comment-41147</guid>
		<description>$word = new COM("word.application") or die("Unable to instantiate Word");
$word-&gt;Documents-&gt;Open($filename);
$new_filename = substr($filename,0,-4) . ".txt";
// the '2' parameter specifies saving in txt format

$word-&gt;Documents[1]-&gt;SaveAs($new_filename,2);
$word-&gt;Documents[1]-&gt;Close(false);
$word-&gt;Quit();
$word-&gt;Release();
$word = NULL;
unset($word);
$fh = fopen($new_filename, 'r');
// this is where we exit Hell

$contents = fread($fh, filesize($new_filename));
fclose($fh);
unlink($new_filename);

it ok but iam getting error is that Uncaught exception 'com_exception' with message 'Failed to create COM object `word.application': Invalid syntax '</description>
		<content:encoded><![CDATA[<p>$word = new COM("word.application") or die("Unable to instantiate Word");<br />
$word-&gt;Documents-&gt;Open($filename);<br />
$new_filename = substr($filename,0,-4) . ".txt";<br />
// the '2' parameter specifies saving in txt format</p>
<p>$word-&gt;Documents[1]-&gt;SaveAs($new_filename,2);<br />
$word-&gt;Documents[1]-&gt;Close(false);<br />
$word-&gt;Quit();<br />
$word-&gt;Release();<br />
$word = NULL;<br />
unset($word);<br />
$fh = fopen($new_filename, 'r');<br />
// this is where we exit Hell</p>
<p>$contents = fread($fh, filesize($new_filename));<br />
fclose($fh);<br />
unlink($new_filename);</p>
<p>it ok but iam getting error is that Uncaught exception 'com_exception' with message 'Failed to create COM object `word.application': Invalid syntax '</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading from a Word Document with COM in PHP by bapu</title>
		<link>http://drewd.com/2007/01/25/reading-from-a-word-document-with-com-in-php/comment-page-2#comment-41146</link>
		<dc:creator>bapu</dc:creator>
		<pubDate>Sat, 21 Jan 2012 07:36:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.drewd.com/index.php/?p=151#comment-41146</guid>
		<description>this code ok but iam getting one error is that Uncaught exception 'com_exception' with message 'Failed to create COM object `word.application': Invalid syntax '</description>
		<content:encoded><![CDATA[<p>this code ok but iam getting one error is that Uncaught exception 'com_exception' with message 'Failed to create COM object `word.application': Invalid syntax '</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading from a Word Document with COM in PHP by Felix</title>
		<link>http://drewd.com/2007/01/25/reading-from-a-word-document-with-com-in-php/comment-page-2#comment-38934</link>
		<dc:creator>Felix</dc:creator>
		<pubDate>Thu, 17 Nov 2011 22:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.drewd.com/index.php/?p=151#comment-38934</guid>
		<description>can someone post a working code here?</description>
		<content:encoded><![CDATA[<p>can someone post a working code here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading from a Word Document with COM in PHP by Anonymous</title>
		<link>http://drewd.com/2007/01/25/reading-from-a-word-document-with-com-in-php/comment-page-2#comment-38634</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 03 Nov 2011 13:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.drewd.com/index.php/?p=151#comment-38634</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Milestones and Puppy Steps by Whit</title>
		<link>http://drewd.com/2011/08/22/milestones-and-puppy-steps/comment-page-1#comment-36996</link>
		<dc:creator>Whit</dc:creator>
		<pubDate>Tue, 30 Aug 2011 21:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://drewd.com/?p=881#comment-36996</guid>
		<description>I have been waiting for this update for so long. Congratulations Chuq! It was all that training! 

Oh, good job Drew. Ha!

Seriously, I tell everyone about your goal and am so proud of you for making it. I have some goals of my own. It's hard to say if and when I will complete them, or if I'll be able to tell that I have - But i'll tell you i'm feeling good. 

And i'm super proud of you two, wiggle-butt and hole-in-chest.</description>
		<content:encoded><![CDATA[<p>I have been waiting for this update for so long. Congratulations Chuq! It was all that training! </p>
<p>Oh, good job Drew. Ha!</p>
<p>Seriously, I tell everyone about your goal and am so proud of you for making it. I have some goals of my own. It's hard to say if and when I will complete them, or if I'll be able to tell that I have - But i'll tell you i'm feeling good. </p>
<p>And i'm super proud of you two, wiggle-butt and hole-in-chest.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

