Geo-phi-phi is a project mainly written in PHP, it's free.
Shows you the distance between the island PHI-PHI and the location from your IP
This small script PHP shows you the distance between the island PHI-PHI and the location from your IP.