dmccabe Posted June 12, 2008 Share Posted June 12, 2008 Is it possible with PHP to do a timed re-direct? So that someone can go to a page see a message that is displayed then after a short while be redirected to another page? Quote Link to comment Share on other sites More sharing options...
stublackett Posted June 12, 2008 Share Posted June 12, 2008 Yeah, It is possible to do that just put an echo in Use the code echo "<meta http-equiv=Refresh content=4;url=index.php>"; Content = 4 is the amount of seconds before it re-directs and url is the page you want it to go to Quote Link to comment Share on other sites More sharing options...
kbh43dz_u Posted June 12, 2008 Share Posted June 12, 2008 but this is still not php but javascript ... if you want php only there will be no way - except setting a timeout for the script (but the client will not get the result until the timeout is over) Quote Link to comment Share on other sites More sharing options...
dmccabe Posted June 12, 2008 Author Share Posted June 12, 2008 No that is fine, thank you very much, it works like a charm 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.