cURL couldn't connect to host
<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 url's just not this one</p>

<p>also the url below works through the browser
    

<pre><code>$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>

<p>Thanks in advance</p>

<p>Roy</p>
