Math gurus needed :)

I need to figure out the mathematical formula to calculate the distance between two points given the longitude and latitude. (Then I need to convert that formula into a PHP function.

Anybody? :slight_smile:

Thanks for your help(in advance).

(PS: I’m not really a Math guy, so if you could put it in simple english, i’d appreciate it :))