CosaNostra
Registered
Как става номера?
Примерно IP 11.22.33.44 е от Индия,
IP 33.44.55.66 е от Бразилия :idea:
Примерно IP 11.22.33.44 е от Индия,
IP 33.44.55.66 е от Бразилия :idea:
Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
nom3r1 каза:http://dilianl.wordpress.com/2010/08/29/ip-адрес-и-код-на-държавата/
nom3r1 каза:PHP:<?php $country = file_get_contents('http://api.hostip.info/country.php?ip='.$_SERVER['REMOTE_ADDR']; echo $country; ?>
NL
<?php
$ip = "33.44.55.66";
$a = file_get_contents("http://whatismyipaddress.com/ip/$ip");
$stranaa = explode("Country:</th><td>",$a);
$stranab = explode("</td>",$stranaa[1]);
$strana = $stranab[0];
echo "$ip е от $strana";
?>