Widex adlı üyeden alıntı: mesajı görüntüle
$url = "json url buraya";
$json = getir($url);
$json_data = json_decode($json,true);

echo print_r($json_data);


function getir($url){
$ch = curl_init();
$user_agent = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; tr; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6';
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch,CURLOPT_USERAGENT,$user_agent);
$result = curl_exec($ch);
curl_close($ch);
return $result;
}
malesef değişen birşey olmadı hocam boş ekran geliyor

PsdBul adlı üyeden alıntı: mesajı görüntüle
file_get_contents ile https üzerinden istek atmak için php.ini dosyasında düzenleme yapmanız gerekiyor. https://www.emrahyuksel.com.tr/file_...ttps-problemi/


hocam php.ini dediğiniz şekilde açık işin garibi https://api.iddaa.com.tr/SportsProgram/basic/1 bu apiye bağlanıyor buda https ama https://www.birebin.com/api/game-program/GetBulletin bunu açmıyor anlamış değilim