代码如下:
复制代码 代码如下:function getExchangeRate($from_Currency,$to_Currency){ $amount = urlencode($amount); $from_Currency = urlencode($from_Currency); $to_Currency = urlencode($to_Currency); $url = “download.finance.yahoo.com/d/quotes.html?s=”.$from_Currency.$to_Currency.”=X&f=