title: How to reduce http request using PHP when HTML Doc loads JS or CSS?
body: <p>I use <a href="http://code.google.com/p/minify/" rel="nofollow">Minify</a> to reduce the http request when HTML needs to load JavaScript or CSS.  However, I would like to further reduce the http request.<br>
    <em>The question is:</em> Is it necessary using PHP to output content like this:</p>
  
  <pre><code>&lt;?php
  header('Content-Type:Application/x-javascript;Charset=utf-8');
  echo '&lt;script src="text/javascript&gt;';
  foreach ($files as $file) {
    echo file_get_contents();
  }
  echo '&lt;/script&gt;';
  ?&gt;
  </code></pre>
  
  <p>What is the difference between using <code>&lt;script&gt;</code> tags and PHP output?</p>
  
  <p>Any answer will be helpful, Thanks!</p>