#ADD: adding some php snipped that calc distances from two points based on latitude and longitude on Earth