06-27-2009, 06:07 PM
|
#7 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,258
Thanks: 90
|
We appreciate that you need help, but we do like to see people attempting to solve a problem on their own first. Please consider this in the future.
Nonetheless, your second question is a pretty fair question, although I would have liked to have seen you made an attempt at that, too.
1) Use a crontab.
2) ...
php Code:
$iRightNow = time(); $i30DaysAgo = strtotime('-30 days'); $iInterval = $iRightNow - $i30DaysAgo; printf('Days: %d', ($iInterval / 3600) / 24);
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|