I created this function for that purpose:
function redirect($page){
echo "<script>{window.location='" . $page . "'}</script>";
echo '<center><br><br>If the page does not redirect in a few seconds, <a href="' . $page . '">click here</a>.</center><br><br>';
die();
}
It uses javascript, and if the user has javascript disabled it simply publishes a links directing them to 'click here' if the page does not redirect.
I did this because i was tired of messing with the headers and the fact you cant have outputted aything to the browser after a header redirect.