scott botkins Posted October 27, 2007 Share Posted October 27, 2007 I was wondering if this is possible? I'm wanting to use php to countdown 40 seconds and then refresh to a new page. I don't want to use javascript or the html meta tag. Quote Link to comment https://forums.phpfreaks.com/topic/75026-timer-countdown-refresh/ Share on other sites More sharing options...
Wuhtzu Posted October 27, 2007 Share Posted October 27, 2007 It is not possible. PHP is run server side and the countdown and refresh will have to be client side. Quote Link to comment https://forums.phpfreaks.com/topic/75026-timer-countdown-refresh/#findComment-379376 Share on other sites More sharing options...
kratsg Posted October 27, 2007 Share Posted October 27, 2007 [code] <?php header('refresh:40; url=newpage.php'); ?> that basically re-directs to a new page in 40 seconds.[/code] Quote Link to comment https://forums.phpfreaks.com/topic/75026-timer-countdown-refresh/#findComment-379390 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.