Skip to content

Small PHP script for calculating the distance between two points, the first point gets by IP and the second by address

Notifications You must be signed in to change notification settings

TheChipmunks/distance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Small PHP script for calculating the distance between two points, the first point gets by IP and the second by address

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages