Tag Archives: php

Google DNS Benchmarked

Today Google announced a public DNS service they are hosting. They claim that their DNS infrastructure is faster and more secure, because their servers do some clever things. I wanted to test their performance claims, so I wrote a little script to measure a lookup times for different domains across a number of DNS servers. …

Read more »

Ordnance Survey Easting/Northing to Lat/Long

Recently I had the need to convert Ordnance Survey East/North coordinates to Latitude and Longitude. By using the resources available on the OS site I wrote the following piece of PHP code: <?php // Converts OS Easting/Northing to Lat/Long // by bramp function Marc($bf0, $n, $PHI0, $PHI) { /* Compute meridional arc. Input: – ellipsoid …

Read more »