Made xml parser on Js . Everything works fine on my computer. But on another computer, it does not download xml , it loads for a long time and does not download anything. And on the third he from 2 xml downloads only 1 what could be the problem? I use wampp server , php5
xml download currency rates from www.nationalbank.kz and weather from www.eurometeo.ru .
php code
<?php header("Content-Type: text/xml"); $filename = $_GET["url"]; $handle = fopen($filename, "rb"); $contents = ''; while (!feof($handle)) { $contents .= fread($handle, 8192); } fclose($handle); echo($contents); ?>