Hi, how would I count down 30 seconds before it performed an anction, I know it would besome sort of loop but im not sure how to do it. Also would it be the same for counting down 24 hours? Thanks, Nixon
just use
sleep(30) maybe you have to use set_time_limit(40) as well, cause the maximum execution time of a script is 30sec.
24h is a much bigger problem, I'd prefer something with a cronjob
24 hour equals a day. Simply check the date in your homepage and if is changed do it.
But if nobody visit the site, nothing happens. 🙁