Tag: Country code

  • Get the visitor’s country by their IP

    Basically the code is something like this:   [crayon-6473d5a8f0908608921363/] So we are using the GeoPlugin API to retrieve the Country code. You can also get the full country name, state, city, continent and some other stuff. Here is a simple dump of the data returned from the site: [crayon-6473d5a8f090e914408827/] For more info and explanations and […]