This article is extracted from http://mattiasgeniar.be/2008/07/30/using-proper-header-redirects-in-php/
Let’s say you have an old web-page that’s no longer in use. Of course, you’ll want to redirect your users to the correct (new) page. Using PHP, you can modify the headers of a web-page to redirect them to the correct page.
<?php
header("Location: http://www.mydomain.com/newpage.html");
exit();
?>
This will cause the user who visits the [...]

Recent Comments