Den kod du har idag borde se ut ungefär så här:
Kod:
$handle = fopen ($URL, "r");
$TellusPay_Key = fread($handle, 1000000);
Gör istället så här:
Kod:
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $URL);
$TellusPay_Key = curl_exec($ch);
curl_close($ch);
Curl brukar funka när inte fopen() gör det.