RE: [PHP] for loop not working
| From: | hadi | Date: | Sun, 15 Jun 2014 17:21:43 +0000 |
| Subject: | RE: [PHP] for loop not working | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323474@lists.php.net to get a copy of this message | ||
> Do you have SSH access on the server (command prompt style)?
Its running in my local machine. Don’t bother I got the code working fine. Thank you for your
asking.
> -----Original Message-----
> From: Aziz Saleh [mailto:azizsaleh@gmail.com]
> Sent: Saturday, June 14, 2014 11:31 PM
> To: hadi
> Cc: webmaster@jimginer.net; php-general@lists.php.net
> Subject: Re: [PHP] for loop not working
>
> 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)?
Attachment: [application/pkcs7-signature] smime.p7s
Attachment: [application/pkcs7-signature] smime.p7s