PHP: Distance between two points

on