Can you guess what the following have in common?
| Oregon, United States | Beijing, China |
| Madhya Pradesh, India | Western, Sri Lanka |
| Korea, Republic of | Zuid-Holland, Netherlands |
| Gauteng, South Africa | Brazil |
| Region Metropolitana, Chile | Victoria, Australia |
| Makkah, Saudi Arabia | Dubai, United Arab Emirates |
| T'ai-pei, Taiwan | India |
| Perak, Malaysia | California, United States |
| Ireland | London, City of, United Kingdom |
| Milton Keynes, United Kingdom | Wiltshire, United Kingdom |
| Noord-Holland, Netherlands | Brussels Hoofdstedelijk Gewest, Belgium |
| Sachsen-Anhalt, Germany | Bucuresti, Romania |
We've had visitors to our web site in the last five minutes (or rather the five minutes from 09:35) from IP addresses in all these places. (And I have excluded know robots too!)
For a considerable time, we have used the Maxmind database (
http://www.maxmind.com/) to identify the country from which visitors arrive on our site - this allows us to tailor our phone number for their use, add the words "UK" prominently onto course descriptions, and make other subtle alterations along the same lines. However, our new server has more "Umph" and as well as getting an enormously better performance, we're able to use Maxmind's bigger regional database now, and get more granularity in our geolocation.

Using our
recent visitors page, we can even watch visitors as they arrive at our site - we can see the search terms they have used if they're a new arrival from Yahoo or Google, and we can see how they follow through. This is superb marketing feedback - and we keep the logs too so that we can come up with a longer term analysis as well. As you might expect, on a Sunday August morning our site isn't at its busiest, and you'll see a predominance of Asian visitors. The USA sleeps (except for one late bird in California) and Europe is enjoying its lie in on Sunday morning.
(written 2008-08-03, updated 2008-08-09)
266b
Associated topics are indexed under
H309 - PHP - Maps, Graphics and Geographics [3817] Fpdf - generating .pdf documents easily from your PHP program - (2012-07-24)
[3734] QR codes with marketing logos embedded - (2012-05-16)
[3584] QR codes - graphics images that provide quick phone links - (2012-01-18)
[3536] UK Mapping Data - and more to come - under government Open Data measures - (2011-12-03)
[3447] Needle in a haystack - finding the web server overload - (2011-09-18)
[3211] Computer Graphics in PHP - World (incoming data) to Pixel (screen) conversion - (2011-03-24)
[3197] Finding and diverting image requests from rogue domains - (2011-03-08)
[3133] An image from a website that occasionally comes out as hyroglyphics - (2011-01-14)
[3027] Server logs - drawing a graph of gathered data - (2010-11-03)
[2939] Protecting your images from use out of context - (2010-08-29)
[2729] Uploading a document or image to its own URL via a browser - (2010-04-18)
[2675] Redirecting to your main domain for correct security keys - (2010-03-13)
[2583] Reducing image size on digital photos - PHP - (2010-01-17)
[2390] Dynamic / changing images on your web page - (2009-09-01)
[2361] Geocoding - converting address to latitude / Longitude with PHP via Google - (2009-08-14)
[2343] World Flags in your PHP pages - (2009-08-10)
[1956] Images for Christmas - (2008-12-21)
[1923] Making it all worthwhile - (2008-12-04)
[1756] Ever had One of THOSE mornings? - (2008-08-16)
[1752] Dynamic maps / geographics in PHP - (2008-08-13)
[1724] addslashes v mysql_real_escape_string in PHP - (2008-07-27)
[1628] Gant charts - drawing them with a PHP script - (2008-05-03)
[1391] Ordnance Survey Grid Reference to Latitude / Longitude - (2007-10-14)
[1390] Converting from postal address to latitude / longitude - (2007-10-13)
[1389] Controlling and labelling Google maps via PHP - (2007-10-13)
[1194] Drawing hands on a clock face - PHP - (2007-05-19)
[1104] Drawing dynamic graphs in PHP - (2007-03-09)
[937] Display an image from a MySQL database in a web page via PHP - (2006-11-22)
[665] PHP Image viewing application - (2006-04-01)
[563] Merging pictures using PHP and GD - (2006-01-13)
[320] Ordnance Survey - using a 'Get a map' - (2005-05-22)
Some other Articles
Clean code, jump free (Example in Lua)Rules, suggestions, considerations for Lua variable namesCurrent visitors from around the world - PHPFinding words and work boundaries (MySQL, Perl, PHP)All around the world?memcached - overview, installation, example of use in PHPOld pictures and comparisonsApache httpd, MySQL, PHP - installation procedurePunting on the CamBack from the future