Here's an abbreviated version of that index.php page:
<?
include("header.php");
?>
...some HTML code...
<?
if (!$HTTP_POST_VARS['username'] || !$HTTP_POST_VARS['password']) {
include("file01.html");
exit;
}
if (!$login) {
include("file02.html");
}
else {
include("file03.html");
}
?>
file01.html:
<?
header("Location: index.php");
exit;
?>
The error is the following:
Warning: Cannot modify header information - headers already sent by (output started at /mysitepath/header.php:3) in /mysitepath tothatpage/file01.html on line 2