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. 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. 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] Link to comment https://forums.phpfreaks.com/topic/75026-timer-countdown-refresh/#findComment-379390 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.