Redirect webpage using PHP

Last updated on May 26th, 2016 at 01:38 pm

Click to rate this tutorial!
[Total: 1 Average: 5]

Redirect webpage using PHP with time delay

Redirect webpage after a specific time delay using PHP. We have html code for redirecting one webpage to another.But here we have PHP for doing the same. We can even give a delay of our choice inside the code. Grab the code here.

<?php header("refresh:3;url=redirected.htm");?>

Put the above code in any webpage you need the redirection to be implemented.
Here the above code will wait for 3 seconds and then will redirect to the page named redirected.htm.

Click to rate this tutorial!
[Total: 1 Average: 5]

Leave a Reply

Your email address will not be published.