与任何其他中央银行一样,俄罗斯中央银行提供获取卢布与许多其他世界货币之间汇率的服务。网络服务:http://www.cbr.ru/DailyInfoWebServ/DailyInfo.asmxXML输出:http://www.cbr.ru/scripts/XML_daily.asp?date_req=25/11/2009.NET可以轻松读取两者。但是什么更快更可靠呢?您可以推荐选择哪个?顺便说一句,欧洲中央银行仅提供XML输出且仅适用于今天:http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
我有来自http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml的XMLReferenceratesEuropeanCentralBank(出于演示目的,我删除了一些值)我想使用PHP获取转换率,比方说GBP。HI可以像这样使用simplexml加载它:$XML=simplexml_load_file("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml");foreach($XML->Cube->Cube->Cubeas$rate){...但我想在不迭
我正在寻找一个进行货币转换的php脚本。在哪里可以找到适用于codeigniter的软件? 最佳答案 取自http://www.ecb.europa.eu/stats/exchange/eurofxref/html/index.en.html#devHowtoparsethedataThisisjustanexample';//--------------------------------------------------//Hereyoucanaddyourcodeforinserting//$rate[1]and$curre