This PHP script converts latitude and longitude coordinates from degrees-minutes-seconds to decimal, and vice-versa.