Hello all,
I am creating an iphone app that maps information into an embeded
google map.
I want a php form that just enters the title, description, and
location of a marker using the "POST" and "GET" methods in php. My
iphone app is currently set up to fill out a form and send the
information to a text file using the "POST" method. I do not need any
user interface because it is done behind the scenes.
Here are some examples of my current php form.
<?php
$user = $_POST['user'];
$happy = $_POST['happy'];
$time = $_POST['time'];
$lat = $_POST['lat'];
$lngt = $_POST['lngt'];
//the data
$data = "$user | $happy | $time | $location \n";
//open the file and choose the mode
$fh = fopen("log.txt", "a");
fwrite($fh, $data);
//close the file
fclose($fh);
?>
The printed text for "$happy" will be the title of the marker.
The printed text for "$time" will be in the description of the
marker.
"$lat" and "$lngt" are for the location of the marker in the map.
Could someone make this form for me?
Thanks!
--
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.