<?php 
echo 'bye';
//echo phpinfo();
//$address = opencagedata(18.508920, 73.926026);
//                                       // WriteLog($address."hii");
//                                        echo $address;
//
//                                        
//        function opencagedata($lat,$lng){
//		$address = "";
//		//$strURL = 'http://nominatim.openstreetmap.org/reverse?format=json&lat='.$lat.'&lon='.$lng.'&accept-language=en,fr&zoom=18&addressdetails=0';
//            //   $strURL = 'http://nominatim.openstreetmap.org/reverse?format=json&lat='.$lat.'&lon='.$lng.'&zoom=18&addressdetails=0';
//             $strURL = 'http://www.mapquestapi.com/geocoding/v1/reverse?key=DGgncmV5LA0NAL5Gt4wJ5A35WgQkR4OD&lat='.$lat.'&lng='.$lng.'&callback=renderReverse&inFormat=xml&outFormat=xml';
//              
//         //   $strURL = 'http://api.opencagedata.com/geocode/v1/json?q='.$lat.'+'.$lng.'&key=582c5436ab102c2b1782050c7d832544';
//                
//               $resURL = curl_init();
//		curl_setopt($resURL, CURLOPT_URL, $strURL);
//		curl_setopt($resURL, CURLOPT_RETURNTRANSFER, true);
//		$xmlstr = curl_exec($resURL);
//         $objDOM = new DOMDocument();
//		
//		if(! @$objDOM->loadXML($xmlstr)) {
//			die("XML Parsing Failed");
//			return '';
//		}
//		
//		$address = @$objDOM->getElementsByTagName("street")->item(0)->nodeValue;
//		if( @$objDOM->getElementsByTagName("adminArea5")->item(0)->nodeValue!=""){
//			$address .= ", ".@$objDOM->getElementsByTagName("adminArea5")->item(0)->nodeValue;
//		}
//		if( @$objDOM->getElementsByTagName("adminArea3")->item(0)->nodeValue!=""){
//			$address .= ", ".@$objDOM->getElementsByTagName("adminArea3")->item(0)->nodeValue;
//		}
//		if( @$objDOM->getElementsByTagName("adminArea4")->item(0)->nodeValue!=""){
//			$address .= ", ".@$objDOM->getElementsByTagName("adminArea4")->item(0)->nodeValue;
//		}
//		if( @$objDOM->getElementsByTagName("adminArea1")->item(0)->nodeValue!=""){
//			$address .= ", ".@$objDOM->getElementsByTagName("adminArea1")->item(0)->nodeValue;
//		}
//		$address = iconv('UTF-8', '', $address);
//                echo $address;
//		return $address;
//	}
//      //  renderReverse({"info":{"statuscode":0,"copyright":{"text":"\u00A9 2016 MapQuest, Inc.","imageUrl":"http://api.mqcdn.com/res/mqlogo.gif","imageAltText":"\u00A9 2016 MapQuest, Inc."},"messages":[]},"options":{"maxResults":1,"thumbMaps":true,"ignoreLatLngInput":false},"results":[{"providedLocation":{"latLng":{"lat":18.50892,"lng":73.926026}},"locations":[{"street":"Mundhwa Road","adminArea6":"Magarpatta City","adminArea6Type":"Neighborhood","adminArea5":"Pune","adminArea5Type":"City","adminArea4":"Pune","adminArea4Type":"County","adminArea3":"Maharashtra","adminArea3Type":"State","adminArea1":"IN","adminArea1Type":"Country","postalCode":"411 001","geocodeQualityCode":"B1AAA","geocodeQuality":"STREET","dragPoint":false,"sideOfStreet":"N","linkId":"0","unknownInput":"","type":"s","latLng":{"lat":18.514328,"lng":73.932462},"displayLatLng":{"lat":18.514328,"lng":73.932462},"mapUrl":"http://www.mapquestapi.com/staticmap/v4/getmap?key=DGgncmV5LA0NAL5Gt4wJ5A35WgQkR4OD&type=map&size=225,160&pois=purple-1,18.5143275,73.9324618,0,0,|¢er=18.5143275,73.9324618&zoom=15&rand=930299361"}]}]});

echo now();

?>