Re: for loop not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 14, 2014 at 4:24 PM, hadi <almarzuki2011@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx]
> > Sent: Saturday, June 14, 2014 11:17 PM
> > To: php-general@xxxxxxxxxxxxx
> > Subject: Re:  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)?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux