Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs
<?php
ob_start();
?>
<html>
<!-- Output -->
</html>
<?php
session_start();
ob_flush();
?>
try this like code standard to avoid warning when using header function and redirection the pages