• Skip to content
  • Skip to primary sidebar

The html blog

The web sandbox

You are here: Home / Archives for maxmind

maxmind

Geolocate your visitors with PHP (part 2)

September 29, 2017 By thehtmlblog Leave a Comment

In the first part of this series I showed how you could get the country of a visitor via his IP address. Now with this precious information, I’ll show you how to map the visitor visually on the world map using Google Maps. You must sign up for a Google Maps API key if you don’t already have one. […]

Filed Under: Javascript, php Tagged With: geolocalisation, geolocate, google maps, Javascript, mashup, maxmind, net, Net_GeoIP, pear, PHP

Geolocate your visitors with PHP (part 1)

September 29, 2017 By thehtmlblog Leave a Comment

In this short post, I’ll show you how to geolocate your visitors with PHP. First of all let’s have a look at what you’ll need : PEAR GeoIP MaxMind GeoLite Country Installing PEAR GeoIP Using your console or using the command prompt type : pear install http://download.pear.php.net/package/Net_GeoIP-1.0.0RC1.tgz If you used our 70% off coupon for Bluehost […]

Filed Under: php Tagged With: country, geoip, google maps, maxmind, net, pear, PHP, tutorial

Primary Sidebar

Subscribe and never miss a post

Categories

  • Hosting
  • Javascript
  • php
  • Web
  • XML

Copyright © 2021 · htmlblog.net