salimsevindik adlı üyeden alıntı: mesajı görüntüle
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://adres:8087/read/kantar');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'X-Requested-With: XMLHttpRequest'
));
$server_output = curl_exec($ch);
curl_close($ch);
$data=json_decode($server_output);
print_r($data);


Dener misiniz olacak mı?

Malesef hocam ben cento8 den olduğunu düşünüyor centos 7 sunucuda da aynı panel ve alt yapı var mecburen portlu adresi cento7 sunucuma atıp json datayı port olmadan 7 sunucusundan alıyorum kulağı tersten tuttum biraz. Çözemedim