Some times you want to redirect your site visitors to a different page. e.g.

  • When a user logins
  • On successfull submission of form data
  • Redirect a user away from a page if they do not have the rights to access that page (page security)
  • Ensure that the put header command is performed beforer any content is sent to the browser, this needs to be the item the page outputs.
<?lcĀ 
put header "Location: http://www.google.com"
?>
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search