Re: [PHP] Purging old files from directories

2003-08-04 Thread Mike Migurski
>I need to write a script that will scan/read a given directory's contents >and delete files older than a certain date. Ideally, this will be a >script that runs via cron once a week and deletes all files it finds in >the directory older than 2 weeks from the current date. I do currently >have scri

Re: [PHP] Purging old files from directories

2003-08-01 Thread Curt Zirzow
* Thus wrote Verdon vaillancourt ([EMAIL PROTECTED]): > Hi :) > > I need to write a script that will scan/read a given directory's contents > and delete files older than a certain date. Ideally, this will be a script > that runs via cron once a week and deletes all files it finds in the > director

Re: [PHP] Purging old files from directories

2003-08-01 Thread Verdon vaillancourt
Thank you :) On 8/1/03 10:06 AM, "Marek Kilimajer" <[EMAIL PROTECTED]> wrote: > Begin in the manual: > Directory functions > Filesystem functions - filemtime() -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Purging old files from directories

2003-08-01 Thread Jason Wong
On Friday 01 August 2003 21:40, Verdon vaillancourt wrote: > I need to write a script that will scan/read a given directory's contents > and delete files older than a certain date. Ideally, this will be a script > that runs via cron once a week and deletes all files it finds in the > directory old

Re: [PHP] Purging old files from directories

2003-08-01 Thread Marek Kilimajer
Verdon vaillancourt wrote: Hi :) I need to write a script that will scan/read a given directory's contents and delete files older than a certain date. Ideally, this will be a script that runs via cron once a week and deletes all files it finds in the directory older than 2 weeks from the curren