Some handy routines for working with Google Earth, PHP, & MySQL