Firstly, this is not the headers already sent' problem.
I have an include file, that does the redirect. This works on every server I have tried it on except the production server, which runs windows.
When I run it on the production server, it only redirects the include file, not the entire page.
I have the main file, index.php:
<?php include('red.php'); ?>
<html ....
>
   header("Location: http://example.com/newfile.php");
    header("Location: newfile.php");'