> .com, .net, .org etc domains isnt US only.
It's better to use whois databases, then usually contain information =
about wich contry the domainowner is in.
Parse that information.
> -----Ursprungligt meddelande-----
> Fr=E5n: Wojciech Pirog [mailto:moharo@h...]=20
> Skickat: den 10 mars 2003 11:12
> Till: professional php
> =C4mne: [pro_php] Re: list of IP range of evry country and=20
> range to each ISP
>=20
>=20
> hey, it's me again
>=20
> i was thinking and i came up with following:
>=20
> if you DNS someone you get the IP and DNS representation of a=20
> user for=20
> example:
>=20
> DNS: p305-002.ppp.get2net.dk =20
> IP: 212.168.2.3
>=20
> as you may notice, you can see in DNS string the country:=20
> "DK", and the=20
> ISP: "get2net", somewhat you have to write your own function=20
> or code that=20
> will extract the country and the ISP and then write=20
> appropriate message...
>=20
> peace
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or=20
> to unsubscribe send a blank email to=20
>
>=20
>=20
already know that the isp host name include the two chars that can provide
me the country but its not always true cause some times u got as guffin
Jonas says .com .net .org ends of hostnames and then u dint know which
country they belong to and than u need to use some database that include
information about evry isp and his ip's range or country and his ip's
range
so mybe some 1 know where can i find database like this?????
thanks for your try johnatan.