Re: for loop not working

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

 



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





[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