title: Header already sent error message on LIVE server
body: <p>After uploading my PHP project to a live server, I get this error message when accessing some pages. </p>
  
  <blockquote>
    <p>Warning: Cannot modify header information - headers already sent by
    (output started at
    /home/mychoice/public_html/version-2/dashboard/includes/header.inc.html:14)
    in
    /home/mychoice/public_html/version-2/dashboard/modules/_modify_admin_select.inc.php
    on line 63</p>
  </blockquote>
  
  <p>But when running on localhost, I do not get this error and every script is working properly.</p>
  
  <p>I have checked white spaces, PHP opening closing tags, and Encoding without BOM. </p>
  
  <p>But I still couldn't figure this out. </p>
  
  <p>This is my <code>header.inc.html</code> page:</p>
  
  <pre><code>&lt;?php # -- header.html
  // This page begins the HTML header for the site.
  
  // Check for a $page_title value:
  if (!isset($page_title)) $page_title = 'Computer store | Control Panel';
  ?&gt;&lt;!DOCTYPE html&gt;
  &lt;!--[if lt IE 7]&gt;      &lt;html class="no-js lt-ie9 lt-ie8 lt-ie7"&gt; &lt;![endif]--&gt;
  &lt;!--[if IE 7]&gt;         &lt;html class="no-js lt-ie9 lt-ie8"&gt; &lt;![endif]--&gt;
  &lt;!--[if IE 8]&gt;         &lt;html class="no-js lt-ie9"&gt; &lt;![endif]--&gt;
  &lt;!--[if gt IE 8]&gt;&lt;!--&gt; &lt;html class="no-js"&gt; &lt;!--&lt;![endif]--&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8"&gt;
          &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
          &lt;title&gt;&lt;?php echo $page_title; ?&gt;&lt;/title&gt;
          &lt;meta name="description" content=""&gt;
          &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  
          &lt;link rel="icon" type="image/ico" href="favicon.ico"/&gt;
          &lt;link rel="apple-touch-icon" sizes="152x152" href="apple-touch-icon-precomposed.png" /&gt;
  
          &lt;link rel="stylesheet" href="css/styles.css"&gt;
  
          &lt;script src="js/vendor/modernizr.min.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
        &lt;!--[if lt IE 7]&gt;
          &lt;p class="browsehappy"&gt;You are using an &lt;strong&gt;outdated&lt;/strong&gt; browser. Please &lt;a href="http://browsehappy.com/"&gt;upgrade your browser&lt;/a&gt; to improve your experience.&lt;/p&gt;
        &lt;![endif]--&gt;
  
              &lt;!-- End of header. --&gt;
  </code></pre>