[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic delete...



You could do something like that but it would definitely have to be server
side (obviously) . You would have to have a cron job or some periodiclyt
executed script that would look at the timestamps on the files and delete
them if they were x daysa old. NOt too hard.



>Hi all, I was wondering whether there was a way I could have some of the
>images on my pages, or links automaticaly get deleted after a specific time
>(for example, I would want to put an image on my page and have it appear on
>my page for only 1 month. At which point, I'd like it to either not load
>anymore (and perhaps give an error message sayin:image could not be loaded
>or something..) or simply  have the image get automaticaly get deleted.  Is
>there any way to do this? (using javascript or cgi or any other way...
>(I would think this is possible since user accounts can be frozen or
>automaticaly deleted on servers..I guess the same principle could be applied
>, no?
>plz let me know ASAP,
>Mike
>
>--------------------------------------------------------------------
>For help about the list, please send a message to 'majordomo@obscure.org'
>with the message body 'help'. To unsubscribe, send a message to
>'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
>List archives and pointer to FAQ: http://www.obscure.org/javascript/



Topher LaFata
Exorcist
VIVID STUDIOS
vox:512.7200
fax:512.7202
topher@vivid.com
cmlafata@best.com
http://www.vivid.com/


--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/