A Timed PHP Re-Direct

You need to redirect your web page. But how? There are plenty of ways to do this, and one of the easiest ways is through PHP. For a timed redirect use this code at the top of your web page between your <?php and ?> tags.

PHP Code:
  1. header('Refresh: 5; url=http://www.google.com');

If you simply want to redirect in a form or for some other purpose, type out

PHP Code:
  1. header('Location: http://www.google.com');

If you prefer to use HTML pages, it is better to use a Javascript Redirect.

Add comment

Security code


Visit fbetting.co.uk Betfair Review