<?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: Recursively copying directories in PHP</title>
	<atom:link href="http://aidanlister.com/2004/04/recursively-copying-directories-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://aidanlister.com/2004/04/recursively-copying-directories-in-php/</link>
	<description>Code is poetry</description>
	<lastBuildDate>Sat, 05 May 2012 15:50:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: vibromasseurs rabbit</title>
		<link>http://aidanlister.com/2004/04/recursively-copying-directories-in-php/comment-page-1/#comment-4118</link>
		<dc:creator>vibromasseurs rabbit</dc:creator>
		<pubDate>Mon, 23 Apr 2012 02:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=63#comment-4118</guid>
		<description>It&#039;s really a great and helpful piece of information. I&#039;m glad that you simply shared this helpful info with us. Please stay us informed like this. Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>It&#8217;s really a great and helpful piece of information. I&#8217;m glad that you simply shared this helpful info with us. Please stay us informed like this. Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://aidanlister.com/2004/04/recursively-copying-directories-in-php/comment-page-1/#comment-3113</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 03 Nov 2011 22:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=63#comment-3113</guid>
		<description>Beautiful work!
thank you so much!</description>
		<content:encoded><![CDATA[<p>Beautiful work!<br />
thank you so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://aidanlister.com/2004/04/recursively-copying-directories-in-php/comment-page-1/#comment-2621</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 10 May 2011 16:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=63#comment-2621</guid>
		<description>Hi Aidan,

Thanks for that lovely function - very well written and standing the test of time with all the dignity of Dr Quinn Medicine woman.</description>
		<content:encoded><![CDATA[<p>Hi Aidan,</p>
<p>Thanks for that lovely function &#8211; very well written and standing the test of time with all the dignity of Dr Quinn Medicine woman.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joan16v</title>
		<link>http://aidanlister.com/2004/04/recursively-copying-directories-in-php/comment-page-1/#comment-2309</link>
		<dc:creator>joan16v</dc:creator>
		<pubDate>Mon, 03 Jan 2011 12:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=63#comment-2309</guid>
		<description>worked for me!</description>
		<content:encoded><![CDATA[<p>worked for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://aidanlister.com/2004/04/recursively-copying-directories-in-php/comment-page-1/#comment-1353</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sun, 31 Jan 2010 22:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=63#comment-1353</guid>
		<description>Hi again,

I added a few lines of code for the following reasons:

- I added a $return variable for the recursive function to prevent a mistaken TRUE return value.
- I added a chmod for folders, so that I can delete them off the server via ftp.
- (I also added an array to the parameters for folders who&#039;s content I don&#039;t want to copy)

http://www.dickinson.ch/public_code/php_dirs_copy.txt

I also created a second function to delete folders and files recursively, which I needed after having run your test-program on the original code (deleting the folders and files over ftp was impossible, and when I used filezilla, it went into an infinite loop - supposedly because of the symbolic links).

http://www.dickinson.ch/public_code/php_dirs_delete.txt</description>
		<content:encoded><![CDATA[<p>Hi again,</p>
<p>I added a few lines of code for the following reasons:</p>
<p>- I added a $return variable for the recursive function to prevent a mistaken TRUE return value.<br />
- I added a chmod for folders, so that I can delete them off the server via ftp.<br />
- (I also added an array to the parameters for folders who&#8217;s content I don&#8217;t want to copy)</p>
<p><a href="http://www.dickinson.ch/public_code/php_dirs_copy.txt" rel="nofollow">http://www.dickinson.ch/public_code/php_dirs_copy.txt</a></p>
<p>I also created a second function to delete folders and files recursively, which I needed after having run your test-program on the original code (deleting the folders and files over ftp was impossible, and when I used filezilla, it went into an infinite loop &#8211; supposedly because of the symbolic links).</p>
<p><a href="http://www.dickinson.ch/public_code/php_dirs_delete.txt" rel="nofollow">http://www.dickinson.ch/public_code/php_dirs_delete.txt</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://aidanlister.com/2004/04/recursively-copying-directories-in-php/comment-page-1/#comment-1352</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sun, 31 Jan 2010 19:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=63#comment-1352</guid>
		<description>Hi Aidan,
Thanks for sharing a great function. Just one remark. It seems to me like your recursive calling of copyr() at line 37 should take into consideration the return value, and if ever it is false, return false at the end of the function. Otherwise your function will always return true, as long as the first level of recursion returns no errors. Errors that happen in the deeper levels of your recursion are never reported back to the original caller of the function, no? Let me know if I&#039;m missing something here.
Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Hi Aidan,<br />
Thanks for sharing a great function. Just one remark. It seems to me like your recursive calling of copyr() at line 37 should take into consideration the return value, and if ever it is false, return false at the end of the function. Otherwise your function will always return true, as long as the first level of recursion returns no errors. Errors that happen in the deeper levels of your recursion are never reported back to the original caller of the function, no? Let me know if I&#8217;m missing something here.<br />
Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fandi</title>
		<link>http://aidanlister.com/2004/04/recursively-copying-directories-in-php/comment-page-1/#comment-1311</link>
		<dc:creator>Fandi</dc:creator>
		<pubDate>Wed, 16 Dec 2009 07:32:03 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=63#comment-1311</guid>
		<description>Saved me a lot of time. Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Saved me a lot of time. Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vivek</title>
		<link>http://aidanlister.com/2004/04/recursively-copying-directories-in-php/comment-page-1/#comment-1295</link>
		<dc:creator>vivek</dc:creator>
		<pubDate>Fri, 20 Nov 2009 14:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=63#comment-1295</guid>
		<description>very good  coding. It&#039;s very useful..
Thanks...</description>
		<content:encoded><![CDATA[<p>very good  coding. It&#8217;s very useful..<br />
Thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rillwose</title>
		<link>http://aidanlister.com/2004/04/recursively-copying-directories-in-php/comment-page-1/#comment-1238</link>
		<dc:creator>rillwose</dc:creator>
		<pubDate>Thu, 17 Sep 2009 13:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=63#comment-1238</guid>
		<description>Thanks for the awesome script, I have pretty much got it working as I want. BUT in running the initial testing that you provide above, there are now two folders on my web server that I cannot delete. I can move them around, but they just don&#039;t seem to delete.

Any ideas?</description>
		<content:encoded><![CDATA[<p>Thanks for the awesome script, I have pretty much got it working as I want. BUT in running the initial testing that you provide above, there are now two folders on my web server that I cannot delete. I can move them around, but they just don&#8217;t seem to delete.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aidan Lister</title>
		<link>http://aidanlister.com/2004/04/recursively-copying-directories-in-php/comment-page-1/#comment-714</link>
		<dc:creator>Aidan Lister</dc:creator>
		<pubDate>Fri, 05 Jun 2009 00:46:18 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=63#comment-714</guid>
		<description>Hi Nightmoon,

Glad you liked the function! Your feedback is donation enough, good luck with the project.</description>
		<content:encoded><![CDATA[<p>Hi Nightmoon,</p>
<p>Glad you liked the function! Your feedback is donation enough, good luck with the project.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

