useful...
Hi this code is not workWarning: Wrong parameter count for mb_detect_encoding() in /opt/lampp/htdocs/map/map3.php on line 22Warning: mb_convert_encoding() [function.mb-convert-encoding]: Unknown encoding "-8" in /opt/lampp/htdocs/map/map3.php on line 22Warning: Wrong parameter count for mb_detect_encoding() in /opt/lampp/htdocs/map/map3.php on line 23Warning: mb_convert_encoding() [function.mb-convert-encoding]: Unknown encoding "-8" in /opt/lampp/htdocs/map/map3.php on line 23bool(false)
Hi Hashim,Its working yaar, i place demo following url, we can find the details.http://labs.anil2u.info/latlong.php?latitude=16.9662011&longitude=82.2243712Thank you.
Useful but please write a post How to detect user's country?Thanx for your help anil.
The code was really helpful and easy to understand. Thanks AnilHi Dharmveer,You can get the code for "How to detect user's country" from:http://www.phpclasses.org/browse/package/2363.html
It is very usefulThanks
Thanks... Its really working..
Its really very usefull ....thanks .
[...] 5)We get the address by latitude and longitude -using php code [...]
What does this do please $url="http://maps.google.com/maps/geo?q=$lat,$long&output=csv&sensor=false&key=".$key;
Hi I am using the code but it is giving me bool(false) where i am using echo "";var_dump($data);echo "";Please tell me what to do... whats wrong in my code
@Mayank , This code using older version of google map api. It will be working for v2. I will update the post using v3 API.
Hi Anil,is there any Java corresponding code please?
No. I don't have java related stuff in this blog.
It is really good..Thanks
plz help me with the line$init = curl_init();it gives error as Fatal error: Call to undefined function curl_init();
Hi Mayank,you are getting boolean(false) because from google api v3 google doesn't return status which we are checking in functionif (substr($response, 0, 3) === '200') {return $geo = explode(',', $response);so replace above code with this oneif ($response!='') { return $geo = explode(',', $response);
Great job Done ! Thanks for sharing with us !
i got error Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\PicTraveler_new\branches\1.0.0\Implementation\system\core\Loader.php(829) : eval()'d code on line 257
useful...
ReplyDeleteHi this code is not work
ReplyDeleteWarning: Wrong parameter count for mb_detect_encoding() in /opt/lampp/htdocs/map/map3.php on line 22
Warning: mb_convert_encoding() [function.mb-convert-encoding]: Unknown encoding "-8" in /opt/lampp/htdocs/map/map3.php on line 22
Warning: Wrong parameter count for mb_detect_encoding() in /opt/lampp/htdocs/map/map3.php on line 23
Warning: mb_convert_encoding() [function.mb-convert-encoding]: Unknown encoding "-8" in /opt/lampp/htdocs/map/map3.php on line 23
bool(false)
Hi Hashim,
ReplyDeleteIts working yaar, i place demo following url, we can find the details.
http://labs.anil2u.info/latlong.php?latitude=16.9662011&longitude=82.2243712
Thank you.
Useful but please write a post How to detect user's country?
ReplyDeleteThanx for your help anil.
The code was really helpful and easy to understand. Thanks Anil
ReplyDeleteHi Dharmveer,
You can get the code for "How to detect user's country" from:
http://www.phpclasses.org/browse/package/2363.html
It is very useful
ReplyDeleteThanks
Thanks... Its really working..
ReplyDeleteIts really very usefull ....
ReplyDeletethanks .
[...] 5)We get the address by latitude and longitude -using php code [...]
ReplyDeleteWhat does this do please
ReplyDelete$url="http://maps.google.com/maps/geo?q=$lat,$long&output=csv&sensor=false&key=".$key;
Hi I am using the code but it is giving me bool(false) where i am using
ReplyDeleteecho "";
var_dump($data);
echo "";
Please tell me what to do... whats wrong in my code
@Mayank , This code using older version of google map api. It will be working for v2. I will update the post using v3 API.
ReplyDeleteHi Anil,
ReplyDeleteis there any Java corresponding code please?
No. I don't have java related stuff in this blog.
ReplyDeleteIt is really good..
ReplyDeleteThanks
plz help me with the line
ReplyDelete$init = curl_init();
it gives error as
Fatal error: Call to undefined function curl_init();
Hi Mayank,
ReplyDeleteyou are getting boolean(false) because from google api v3 google doesn't return status which we are checking in function
if (substr($response, 0, 3) === '200') {
return $geo = explode(',', $response);
so replace above code with this one
if ($response!='') {
return $geo = explode(',', $response);
Great job Done ! Thanks for sharing with us !
ReplyDeletei got error
ReplyDeleteFatal error: Call to undefined function curl_init() in C:\xampp\htdocs\PicTraveler_new\branches\1.0.0\Implementation\system\core\Loader.php(829) : eval()'d code on line 257