Use the following code
$tags = get_meta_tags('http://www.geobytes.com/IpLocator.htm?GetLocation&template=php3.txt&IpAddress=103.6.158.109'); print $tags['city']; // city name
get_meta_tags
What else u can print Country Code Country Region Code Region City Code City CityId Latitude Longitude
Is there a way to extract out of some environmental variable the Geo location of the user being the city the user visits out website from? Perhaps by utilizing his originated ip address?
Any opensource code would be a great help :)
I want a JAVA program. That gets the website name from the user and prints the IP Address of that website.