<?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: PHP: Delete or unlink a file on the server</title>
	<atom:link href="http://www.tech-recipes.com/rx/1490/php_delete_or_unlink_a_file_on_the_server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/1490/php_delete_or_unlink_a_file_on_the_server/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sun, 22 Nov 2009 00:56:44 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nitish</title>
		<link>http://www.tech-recipes.com/rx/1490/php_delete_or_unlink_a_file_on_the_server/comment-page-1/#comment-11673</link>
		<dc:creator>Nitish</dc:creator>
		<pubDate>Fri, 22 May 2009 04:24:06 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-11673</guid>
		<description>hmmm.... good post...</description>
		<content:encoded><![CDATA[<p>hmmm&#8230;. good post&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher</title>
		<link>http://www.tech-recipes.com/rx/1490/php_delete_or_unlink_a_file_on_the_server/comment-page-1/#comment-10588</link>
		<dc:creator>Christopher</dc:creator>
		<pubDate>Mon, 20 Apr 2009 12:36:33 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-10588</guid>
		<description>Sometimes it&#039;s a good idea to check if the file exists first, then you won&#039;t get a PHP error if the file you&#039;re trying to delete is not there. Just add a simple IF statement to accomplish this:&lt;br&gt;&lt;br&gt;$tmpfile = &quot;/full/path/to/delete-me.txt&quot;;&lt;br&gt; if (file_exists($tmpfile)) { unlink ($tmpfile); }</description>
		<content:encoded><![CDATA[<p>Sometimes it&#39;s a good idea to check if the file exists first, then you won&#39;t get a PHP error if the file you&#39;re trying to delete is not there. Just add a simple IF statement to accomplish this:</p>
<p>$tmpfile = &#8220;/full/path/to/delete-me.txt&#8221;;<br /> if (file_exists($tmpfile)) { unlink ($tmpfile); }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kumar</title>
		<link>http://www.tech-recipes.com/rx/1490/php_delete_or_unlink_a_file_on_the_server/comment-page-1/#comment-7226</link>
		<dc:creator>Kumar</dc:creator>
		<pubDate>Sun, 11 Jan 2009 21:51:36 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-7226</guid>
		<description>a nice n short article on how to delete a file using PHP codes. Good work. Thank you for sharing.</description>
		<content:encoded><![CDATA[<p>a nice n short article on how to delete a file using PHP codes. Good work. Thank you for sharing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
