Accessing location data with IP

You can simply use the codes below to find a location through You can visit site for detailed information about this tool that you can use as an api.

echo $ip = file_get_contents("".$ip);
echo $cek = new SimpleXMLElement($ip);
echo $lg = $cek->countryCode;

0 Yorum

Soru & Yorum

Web Tasarım

Renkli Kare

Web Tasarım Ajansı