I have a php page that allows a user to download a unique file. ( based on random number )
The user can download. But i wanted this file to be deleted like 30 mins.
Something like a timer for such files...
EG: User 1 download file qwert.zip at 1200hrs. File to be deleted @ 1230hrs.
User 2 download file zxcvb.zip at 1201hrs. File to be deleted @ 1231 hrs.
Is this workable in php?
I know of the command to delete = unlink()
but don know about the timer...