Delete a file after it has been downloaded?
| From: | Yngve | Date: | Wed, 18 Aug 2004 21:56:57 +0000 |
| Subject: | Delete a file after it has been downloaded? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-194195@lists.php.net to get a copy of this message | ||
Hi!
I wonder if it´s possible (and how) to delete a file after it has been
downloaded, without running anything on the server except for the PHP page
which the user gets the file from.
If it is not possible, i wonder how i could create a script which deletes
all files in a directory which are more than 5 hours old?
Best regards, Yngve