I have a single php file, with this code in it:
<?php header("Location: somepage.php"); ?>
Absolutely no spaces before or after the php opening or closing tags and I am getting the
Warning: Cannot modify header information - headers already sent by (output started at C:\ ... \test.php:1
Usually when I get this error, the 1 is the line number of the problem, but in this case line one doesn't have any extra whitespace. I only have this code on the page and I am not including any other files.
I'm using xampp on windows xp. Any ideas what's going on or how I can track down what's really causing the problem.
Thanks