Is spotted the js function which alert the latitude and longitude:
function showPointLatLng(point)
{
alert("Latitude: " + point.lat() + "\nLongitude: " + point.lng());
}
Well you could put those in hidden form values but this should also work:
function showPointLatLng(point)
{
window.location = "process.php?latitude=" + point.lat() + "&longitude=" + point.lng();
}
In that example it would redirect you to process.php where you can access those variables with get ($GET['latitude'] and $GET['longitude']).