Answer by ZZ-bb for php parse exchange rate feed XML
I didn't find any relevant settings in php.ini. Check with phpinfo() if you have SimpleXML support and cURLsupport enabled. (You should have them both and especially SimpleXML since you're using it and...
View Articlephp parse exchange rate feed XML
I am trying to use the currentcy exchange rate feeds of the European Central Bank (ECB) http://www.ecb.int/stats/eurofxref/eurofxref-daily.xmlThey have provided documentation on how to parse the xml...
View ArticleAnswer by Martin for php parse exchange rate feed XML
This solution works for me:$data = [];$url = "http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml";$xmlRaw = file_get_contents($url);$doc = new DOMDocument();$doc->preserveWhiteSpace =...
View Article
More Pages to Explore .....