Hi... you're comparing $mtime with itself minus 1200... perhaps you want my $now=time(); somewhere :-)
HTH - Mark
In reply to Re: File stat problem by maa in thread File stat problem by Smaug