'' There appears to be no provisions in google maps
to get country location from an IP address.
'' For this purpose we can take the help of other sites that provide
necessary information.
''
'' There are many sites that assist to get country details from an IP
address.
'' We are using services of http://ipinfodb.com/ to get the required
details.
If you don't provide the IP address by not using "?I=207.216.148.32"
, it will take IP address of the user.
Steps used to show
country name and flag by using IP address
This page uses ASP script to show country name, flag
and the location on google map. A study of this script will help
programmers develop their own similar gadget
Main code is shown
below.
A complete working
script can also be copied from
this txt file
You are required to use value of Keys for
http://ipinfodb.com/
and Google Maps for your own site.