A
Anonymous
Guest
A common problem I find when adding headers is if there is a whitespace before the starting PHP tag.
For example:
This whitespace is counts as an output and is sent to the browser, thus generating the header error message.
For example:
Code:
<?php
header('Location: http://www.php.net/');
?>