
 William Egan - 2014-11-10 15:21:22
Hi,
Thanks for the great script.
I need some help if you have time to provide it.
The script works great when the xml output is assigned to a variable directly in the script.
However, when I attempt to retreive the xml output from a URL I get Error messages.
I tried retrieving the XML 2 ways:
$url = "http://66.42.196.109:5609";
	$handle = fopen($url, "r");
	if($handle){
		while(!feof($handle)){
			$sampleXml = fgets($handle, 4096);
//			echo $sampleXml;
		}
		fclose($handle);
	}
AND
$sampleXml = simplexml_load_file($url);
Any help would be greatly appreciated.