Hi All

I am very fond of this topic. At the moment I am using GET commands to
transfer information to the server but I find POST to be more secure.
I would like the commented out code on line 113 to be replaced by
something similar but using the POST command. Can anyone who has a
more detailed explanation to the documentation of how to add in the
POST parameters explain to me how to do is. It would be much
appreciated. Here is a link to my website:

http://eoincos.googlepages.com/contractormap.html

On Sep 17, 5:41 am, marcelo <[EMAIL PROTECTED]> wrote:
> GDownloadUrl can also send POST 
> requests.http://code.google.com/intl/en/apis/maps/documentation/reference.html...
>
> If you want a more precise answer than that, please follow the posting
> guidelines and post a link to your page.
>
> --
> Marcelo -http://maps.forum.nu
> --
>
> On Sep 17, 1:34 am, Julien MARY <[EMAIL PROTECTED]> wrote:
>
>
>
> > After some research in the group geocoding+javascript+variables+php
> > and especially the 
> > topichttp://groups.google.com/group/Google-Maps-API/browse_thread/thread/c...
>
> > It appears that the following script (associated with the right form
> > in my code):
> > ********************
> > function showLatLong(response) {
>
> >       if (!response || response.Status.code != 200) {
> >         alert("Sorry, we were unable to geocode that address");
> >       } else {
> >         place = response.Placemark[0];
> >         point = new GLatLng(place.Point.coordinates[1],
> >                             place.Point.coordinates[0]);
>
> >         //document.write(point);
> >         msg = "Latitude: "+point.lat()+"<br />"+"Longitude:
> > "+point.lng();
> >         lat = point.lat();
> >         lng = point.lng();
> >                   document.getElementById("mypoint").innerHTML = msg;
> >                   document.getElementById("my_lat").value = lat;
> >                   document.getElementById("my_lng").value = lng;}}
>
> > *************
> > will never be able to send the latitude and longitude obtained for
> > <form name="gForm" action="script.php" method="POST"
> > onsubmit="showLocation();">
>
> > and there is no way to make it happen.
> > If I want to get the closest places to a given address I must follow
> > one of those two strategies :
>
> > 1)Collect all data first, in order to proceed my calculation in my
> > page itself and render results in it. Even a XMLHttpRequest won't save
> > me to not have to do this.
>
> > or
> > 2)Make the server proceed the geocoding request (with the inconvenient
> > which is mentionned in the FAQ concerning the limited rate of request
> > from a given IP address)
>
> > Can somebody confirm that this view is right ?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to