Merhabalar ben script kurdum ip adresini yanlış çekiyor, nasıl düzeltirim kodlar doğru ama
Follow along with the video below to see how to install our site as a web app on your home screen.
Not: This feature may not be available in some browsers.
$ip = $_SERVER['REMOTE_ADDR'];
$details = json_decode(file_get_contents("http://ip-api.com/json/{$ip}"));
$ulke = $details->country;
Ne kadar garip cevaplar :tedirgin
Kod:$ip = $_SERVER['REMOTE_ADDR']; $details = json_decode(file_get_contents("http://ip-api.com/json/{$ip}")); $ulke = $details->country;
ip adresi almak için bu satırları kullanın fazlasına gerek yokBizzat kendi scriptlerimde kullandım çalışmama gibi bir ihtimal söz konusu değil..