title: PHP mp3 stream making trouble at joining point
body: <p>I have an audio stream, some audio file in hdd and some in online and code is,</p>
  
  <pre><code>&lt;?php
  ignore_user_abort(true);
  set_time_limit(0);
  $mime_type = "audio/mpeg";
  header("Content-type: {$mime_type}");
  
  
  $files[0] = "audio/abc def.mp3";
  $files[1] = "http://www.bootstrap-template.com/templates/HTML5//300111377/audio/mp3/FrankSinatra-BarbaraStraizand-Crush.mp3";
  $files[3] = "audio/ghij.mp3";
  $files[4] = "http://193.111.141.116:8888/stream";
  /*print_r(headers_list());
  print_r(get_headers($files[3]));
  print_r(getallheaders());
  exit();*/
  while (true)
  {
      foreach ($files as $key =&gt; $value)
      {
          $filename = $value;
          if($fh = fopen("$filename","r"))
          { 
              while (!feof($fh))
              {
                  echo fgets($fh); 
              }
              fclose($fh); 
          }
  
      }
  }
  </code></pre>
  
  <p>with Firefox it works fine (not in chrome and have not tested in other browsers) at the time of first song. It creates noise at the break point on 1st and second track and continues, at the time of 3rd track again it creates noise and not continues. There is nothing in error log. I am Using HTML5 player.</p>
  
  <p>purpose of this script is, <b>to make stream running if <code>$file[4]</code> stops</b></p>