title: cURL couldn't connect to host
body: <p>I want to be able to test via my website if my stream is playing. So it will update itself accordingly.</p>
  
  <p>I'm using PHP - cURL to read the file, but am getting a "couldn't connect to host" error.
  the script works with other URLs, just not this one.</p>
  
  <p>Also the URL below works through the browser.</p>
  
  <pre><code>&lt;?php
  ///if below doesn't work try this 86.28.144.85:88/broadwave.m3u?src=1&amp;amp;rate=1///
  
  $ch = curl_init("http://82.35.172.112:88/broadwave.m3u?src=p&amp;rate=1");
  $fp = fopen("example_homepage.txt", "w");
  
  curl_setopt($ch, CURLOPT_FILE, $fp);
  curl_setopt($ch, CURLOPT_HEADER, 0);
  
  curl_exec($ch);
  if(curl_errno($ch))
  {
  echo 'Curl error: ' . curl_error($ch);
  }
  
  curl_close($ch);
  fclose($fp);
  ?&gt;
  </code></pre>