<?php
$lat = $_GET['lat'];
$lng = $_GET['lng'];
$curl_handle=curl_init();
curl_setopt($curl_handle,CURLOPT_URL,'http://maps.google.com/maps/api/geocode/json?latlng='.$lat.','.$lng.'&sensor=false');
curl_exec($curl_handle);
curl_close($curl_handle);
?>
<?php
$lat = $_GET['lat'];
$lng = $_GET['lng'];
$curl_handle=curl_init();
curl_setopt($curl_handle,CURLOPT_URL,"http://maps.google.com/maps/api/geocode/json?latlng=$lat,$lng&sensor=false");
curl_exec($curl_handle);
curl_close($curl_handle);
?>
|