peranha Posted December 14, 2007 Share Posted December 14, 2007 How do I forward users to a page after 5 seconds instead of immediately. Here is my code as of now. <?PHP header("Location: home.php"); ?> what do I add to this? Quote Link to comment Share on other sites More sharing options...
themistral Posted December 14, 2007 Share Posted December 14, 2007 A quick search on google turned this up header("refresh:5; url='home.php'"); I haven't tried it but it's worth a go! Let us know if it works! Quote Link to comment Share on other sites More sharing options...
quickstopman Posted December 14, 2007 Share Posted December 14, 2007 i agree with themistral that should work and alos just incase.. put this at the very first line of your document: ob_start(); and that should do the trick for ya. Quote Link to comment Share on other sites More sharing options...
peranha Posted December 15, 2007 Author Share Posted December 15, 2007 Yes that worked. Thanks. Quote Link to comment 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.