RE: keeping track of the 'age' of a file

2005-10-11 Thread Bob Showalter
ZHAO, BING wrote: > But, I > figured it might be a good idea to save the file for like a week then > delete it, if I know some kind of function like > "clock"(as wild as it can get..), "date" etc, so after a week or so, > the perl script would delete the file. The "classic" way to

RE: keeping track of the 'age' of a file

2005-10-10 Thread Ryan Frantz
> -Original Message- > From: ZHAO, BING [mailto:[EMAIL PROTECTED] > Sent: Monday, October 10, 2005 4:48 PM > To: Perl Beginners List > Subject: keeping track of the 'age' of a file > > Hi, >Sorry I have to ask random questions agai

Re: keeping track of the 'age' of a file

2005-10-10 Thread Chris Devers
On Mon, 10 Oct 2005, ZHAO, BING wrote: I am doing this CGI upload website, by saving files submitted by other people, (there is no problem with the storage capacity) Famous last words. What happens when someone points a malicious program towards your script that uploads not a simple file, bu

keeping track of the 'age' of a file

2005-10-10 Thread ZHAO, BING
Hi, Sorry I have to ask random questions again, perl is so profoud and I just finished reading the Llama book, and deeply feel like doing crazy things but couldn't but still believe perl could do it and believe one of you guys could enlighten me.. No more b