Wasn't it aldebaran who wrote:
>Is it possible load kml file from client?
>Example... Push a Button on the browser, Choose file from local 
>machine, temporary upload and loaded kml on the goole maps.

You can use

<form method="post" action="myuploader.php">
   <input type="file" name="myfile" />
</form>

To send the file from a user's computer to a php script, and then 
arrange for the script to save the file to disk in your webspace, then 
pass that filename to Google.

You need to be careful if more than one person can use your page at the 
same time, because they might get each other's temporary files. You'd 
need to think of a way of assigning different filenames. You'd also need 
to think about tidying up your webspace from time to time, or using a 
limited range of filenames, if you don't want your webspace to get 
cluttered with large numbers of such files.

-- 
Mike Williams
http://econym.org.uk/gmap



--~--~---------~--~----~------------~-------~--~----~
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