<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Can PHP delete files from server?' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Can PHP delete files from server?' posted on the 'PHP' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 18 May 2013 19:17:41 -0700</pubDate>
    <lastBuildDate>Sat, 18 May 2013 19:17:41 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Can PHP delete files from server?</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/317875/317875/can-php-delete-files-from-server/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
The application I am writing currently creates a certain number of text files whose use eventually expires. Rather than clogging up the server with this files, is there a simple command to delete them?&lt;br /&gt;
&lt;br /&gt;
Understandably, most PHP textbooks don't go into great detail about deleting files from servers (because of likely misuse) but I don't see any other way round this problem. Thanks &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/317875/317875/can-php-delete-files-from-server/</guid>
      <pubDate>Mon, 10 Oct 2005 08:42:20 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Re: Can PHP delete files from server?</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/317875/317896/re-can-php-delete-files-from-server/#317896</link>
      <description>Yes, it can be done using the "unlink" function.. the manual page can be found at the following URL: &lt;a href="http://us3.php.net/manual/en/function.unlink.php"&gt;http://us3.php.net/manual/en/function.unlink.php&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
: Hi,&lt;br /&gt;
: &lt;br /&gt;
: The application I am writing currently creates a certain number of text files whose use eventually expires. Rather than clogging up the server with this files, is there a simple command to delete them?&lt;br /&gt;
: &lt;br /&gt;
: Understandably, most PHP textbooks don't go into great detail about deleting files from servers (because of likely misuse) but I don't see any other way round this problem. Thanks &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
:&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/317875/317896/re-can-php-delete-files-from-server/#317896</guid>
      <pubDate>Mon, 10 Oct 2005 10:56:26 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Re: Can PHP delete files from server?</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/317875/317904/re-can-php-delete-files-from-server/#317904</link>
      <description>Thanks mate, much appreciated!&lt;br /&gt;
&lt;br /&gt;
: Yes, it can be done using the "unlink" function.. the manual page can be found at the following URL: &lt;a href="http://us3.php.net/manual/en/function.unlink.php"&gt;http://us3.php.net/manual/en/function.unlink.php&lt;/a&gt;&lt;br /&gt;
: &lt;br /&gt;
: : Hi,&lt;br /&gt;
: : &lt;br /&gt;
: : The application I am writing currently creates a certain number of text files whose use eventually expires. Rather than clogging up the server with this files, is there a simple command to delete them?&lt;br /&gt;
: : &lt;br /&gt;
: : Understandably, most PHP textbooks don't go into great detail about deleting files from servers (because of likely misuse) but I don't see any other way round this problem. Thanks &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
: :&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/317875/317904/re-can-php-delete-files-from-server/#317904</guid>
      <pubDate>Mon, 10 Oct 2005 12:08:09 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Re: Can PHP delete files from server?</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/317875/317944/re-can-php-delete-files-from-server/#317944</link>
      <description>I guess you have a soulution already, but here's another tutorial.. on the unlink function:&lt;br /&gt;
&lt;a href="http://www.tizag.com/phpT/filedelete.php"&gt;http://www.tizag.com/phpT/filedelete.php&lt;/a&gt;&lt;br /&gt;
I found it helpful.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: Thanks mate, much appreciated!&lt;br /&gt;
:&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/317875/317944/re-can-php-delete-files-from-server/#317944</guid>
      <pubDate>Mon, 10 Oct 2005 23:51:01 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Re: Can PHP delete files from server?</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/317875/317972/re-can-php-delete-files-from-server/#317972</link>
      <description>Thanks man, that was also useful &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
&lt;br /&gt;
: I guess you have a soulution already, but here's another tutorial.. on the unlink function:&lt;br /&gt;
: &lt;a href="http://www.tizag.com/phpT/filedelete.php"&gt;http://www.tizag.com/phpT/filedelete.php&lt;/a&gt;&lt;br /&gt;
: I found it helpful.&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: : Thanks mate, much appreciated!&lt;br /&gt;
: :&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/317875/317972/re-can-php-delete-files-from-server/#317972</guid>
      <pubDate>Tue, 11 Oct 2005 04:57:23 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Re: Can PHP delete files from server?</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/317875/420798/re-can-php-delete-files-from-server/#420798</link>
      <description>www.tooLongPath.com saved me lot of time for solving this&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/317875/420798/re-can-php-delete-files-from-server/#420798</guid>
      <pubDate>Fri, 07 Jan 2011 10:10:41 -0700</pubDate>
      <category>PHP</category>
    </item>
  </channel>
</rss>