For example:
Code: Select all
<?php
header('Location: http://www.php.net/');
?>
This whitespace is counts as an output and is sent to the browser, thus generating the header error message.
Moderators: egami, macek, gesf
Code: Select all
<?php
header('Location: http://www.php.net/');
?>