Answer the question
In order to leave comments, you need to log in
Why can't get xml object from php link?
My script
$xml = simplexml_load_file('http://www.nbt.tj/ru/kurs/export_xml.php?date=2016-06-18&export=xmlout');
print_r($xml);
Answer the question
In order to leave comments, you need to log in
start by checking:
echo file_get_contents('http://www.nbt.tj/ru/kurs/export_xml.php?date=2016-06-18&export=xmlout')
because it is possible that the ip is blocked. Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question