Re: for loop not working
| From: | Aziz Saleh | Date: | Sat, 14 Jun 2014 20:31:02 +0000 |
| Subject: | Re: for loop not working | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323471@lists.php.net to get a copy of this message | ||
On Sat, Jun 14, 2014 at 4:24 PM, hadi <almarzuki2011@hotmail.com> wrote:
> > 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
>
>
Do you have SSH access on the server (command prompt style)?