Sunday, May 8, 2016

Find the IP, Country and Location of Your Visitors Using JavaScript

Note: You must visit this page using "http" instead of "https" to display the example correctly.


Geolocation by geoPlugin is a free service providing Javascript, PHP, JSON, XML and ASP APIs for you to identify a visitor's IP, location such as country, city, latitude, longitude and so on.



Geolocation by geoPlugin

More Examples and Source Code: http://www.geoplugin.com/examples
JavaScript API: http://www.geoplugin.com/webservices/javascript

Links:
http://www.geoplugin.com/
https://developers.google.com/maps/documentation/javascript/
http://stackoverflow.com/questions/391979/get-client-ip-using-just-javascript
http://stackoverflow.com/questions/12553160/getting-visitors-country-from-their-ip
http://stackoverflow.com/questions/5206015/fastest-way-of-detecting-users-country

3 comments:

  1. IP Address Locator can help you to find out the physical location of any IP address in the world.

    ReplyDelete
  2. OK this is interesting but not accurate as it is showing me false location of myself. Can you please re-check it?

    ReplyDelete
  3. The information provided is clear and understandable. I appreciate your website. By the way, the cheap paper can be very helpful for students, who have a writing problems.

    ReplyDelete

Sponsors