I know this is pathetic, but it's kicking my *** right now. All I want is a simple redirect.
PHP Code:
<?php
header("Location: http://www.google.com/"); /* Redirect browser */
/* Make sure that code below does not get executed when we redirect. */
exit;
?>
And yet it renders the:
Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/paul/public_html/x.php:1) in /home/paul/public_html/x.php on line 2
error.
What combination of ob_start or ob_flush commands do I need to do to get this to work??