Small PHP script for calculating the distance between two points, the first point gets by IP and the second by address.
To test if an IP address is inside an distance radius of an address:
ex: to see if "90.100.120.130" is located within a 100Km Radius of "Eiffel Tower"
Using:
- GEOIP php extension
- Google Maps API