Hey guys,
Does anybody know if it's possible, using PHP, to tell if a file in a directory has been accessed? I'm exporting a CSV file for download, and would like to be able to check if it's been downloaded, so I can delete it (using a cron job).
Cheers
Has File Been Downloaded
Moderator: General Moderators
Re: Has File Been Downloaded
Hello, RCA86, you can provide file for download not directly, but via PHP script. As soon as last part of the file is transferred, this script will delete the file.
For example: http://www.finalwebsites.com/forums/top ... e-download
For example: http://www.finalwebsites.com/forums/top ... e-download
Re: Has File Been Downloaded
That'll do nicely. Cheers for the help!