RE: [PHP] for loop not working

From: Date: Sat, 14 Jun 2014 20:24:19 +0000
Subject: RE: [PHP] for loop not working
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-323470@lists.php.net to get a copy of this message
> You don't make sense. If you aren't interested in a 60 second check then > what is that (useless) line above even in the code for? This for : I have file name ip if this file is less than 60 second delete the "/tmp/sess*" Where only "hadi" value there. I hope you Understand it. > -----Original Message----- > From: Jim Giner [mailto:jim.giner@albanyhandball.com] > Sent: Saturday, June 14, 2014 11:17 PM > To: php-general@lists.php.net > Subject: Re: [PHP] for loop not working > > On 6/14/2014 4:06 PM, hadi wrote: > > Im not trying to delete file more than 60 second I just want my code > > to be fixed. > > > >>> > >>> if (time()- filemtime($ip) > 60) > >>> > >>> { > > You don't make sense. If you aren't interested in a 60 second check then > what is that (useless) line above even in the code for? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

Attachment: [application/pkcs7-signature] smime.p7s
« previous php.general (#323470) next »