Carles -- ...and then Carles Xavier Munyoz Baldó said... % % Hi,
Hi! % I want to write a PHP function for delete the files in a directory older than % 1800 seconds. % Is there any function for it ? Not directly. I wouldn't build this into a web script, either (though if you're simply planning to write your system script in php that's fine). I'd run it with cron (say every 20 minutes) no matter what language I used to write it. % % If not ... % How may I obtain the creation date of a file in PHP ? There is a stat() function which should do you nicely. % % Greetings. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
pgp00000.pgp
Description: PGP signature