Archive for July 4, 2008

How to Redirect to a Different URL in PHP

Posted in Software, Web, internet, php, programming with tags on July 4, 2008 by Joey

To redirect to a different URL in PHP, use the header function, as follows:

header(“Location: http://www.myurl.com”);