View Single Post
Old 01-01-2006, 10:22 AM  
qw12er
Confirmed User
 
Join Date: Apr 2004
Location: Montreal
Posts: 799
:stoned Unix Guru - need your help

How can I set file to expire by themself ?

I'm creating files in PHP for download but once it has been downloaded I what the file to be destroyed. How can I do that ?

Can I put an expiration date like time() + 3600; so the serveur would destroy the file an hour after creation ?

Thanks a lot and
Happy new year !
__________________
I have nothing to advertise ... yet.
qw12er is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote