+ elseif ($provider == 'EXCHANGE-RATES.ORG')
+ {
+ $filename = "/converter/{$curr_b}/{$curr_a}/1";
+ $site = "exchange-rates.org";
+ $proto = 'https://';
+ $contents=file_get_contents($proto.$site.$filename);
+ }
+ elseif ($provider == 'CCA')
+ {
+ $filename = "/api/v6/convert?q={$curr_b}_{$curr_a}&compact=y&callback=sampleCallback";
+ $site = "free.currencyconverterapi.com";
+ $proto = 'https://';
+ $contents=file_get_contents($proto.$site.$filename);
+ }