I know this has been covered before but I cannot find an answer to this,
I have always used this;
header(\"Location: http://www.website.com/\"); exit
Try this (working for me):
echo '';
Instead of
header("Location: http://www.example.com");