MDanz Posted April 22, 2010 Share Posted April 22, 2010 header( "refresh:5;Location:".$return ); i have this in Login.php but it's header doesn't go to $return after 5 seconds. Link to comment https://forums.phpfreaks.com/topic/199342-header-refresh-not-working/ Share on other sites More sharing options...
mrMarcus Posted April 22, 2010 Share Posted April 22, 2010 <?php header('refresh:5;url='. $return); exit(0); ?> EDIT: 99/100 times, the user will just click the "Click here to proceed without waiting 5 seconds", so making the user wait (even if it is only 5 seconds) after they have just logged in is only going to annoy. just reconsider losing the wait as it does nothing anyways, that's all. Link to comment https://forums.phpfreaks.com/topic/199342-header-refresh-not-working/#findComment-1046228 Share on other sites More sharing options...
MDanz Posted April 22, 2010 Author Share Posted April 22, 2010 thanks Link to comment https://forums.phpfreaks.com/topic/199342-header-refresh-not-working/#findComment-1046231 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.