PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
Mr. Tech
Forum Contributor
Posts: 205 Joined: Tue Feb 11, 2003 4:18 pm
Location: Australia
Post
by Mr. Tech » Tue Mar 18, 2003 4:12 am
THANKS YOU!!!!!!!!!!!! I just wanted the code and I've go it! I'll test it right away!
Now, if I want to change it from 30 to say, 50 would I just add this:
$thirty_days = 50*24*60*60; ?
Thanks you agaiN!
twigletmac
Her Royal Site Adminness
Posts: 5371 Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK
Post
by twigletmac » Tue Mar 18, 2003 4:16 am
Exactly - 50 days x 24 hours in a day x 60 minutes in an hour x 60 seconds in a minute.
If, however, you decide to move away from PHPNuke you'd not want to do this sort of checking this way.
Mac
Mr. Tech
Forum Contributor
Posts: 205 Joined: Tue Feb 11, 2003 4:18 pm
Location: Australia
Post
by Mr. Tech » Tue Mar 18, 2003 4:18 am
Ok! THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!