Re: Delete a file immediately after download
| From: | Matt M. | Date: | Tue, 15 Feb 2005 14:59:41 +0000 |
| Subject: | Re: Delete a file immediately after download | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208729@lists.php.net to get a copy of this message | ||
> I have a database that contains encrypted data using Mysql function
> ENCODE(). Certain users will be allowed to view this data and I will allow
> them to download a CSV file contain the decrypted data using the Mysql
> DECODE() function. However I don't want this file to be left on the server,
> is there a way to ensure that the file is deleted immediately after it has
> been downloaded?
http://us4.php.net/unlink