Get Latitude and Longitude from your Postal Address

We generally do not know the latitude and longitude of our area or any other area if we have needed to get the information. Sometimes we have to Google for getting this information. It is not a big issue to find out the approximate latitude  and longitude for any location and it can easily be done in PHP.


Here I am writing the procedures to do the same.

  1. Create a PHP page say ‘postal_lang_long.php’ .
  2. Put the following codes in the PHP file.
  3. Now place your PHP file in your web server and open the file in any browser.
  4. Now in your browser you can see a text box asking for the name of the place.
  5. Enter the place-name and hit ‘go’ button.
  6. That’s all, you will be shown the latitude and longitude of your location.






28 responses to “Get Latitude and Longitude from your Postal Address”

  1. Aaron avatar

    Hi there. Great tute! Very useful. I was wondering, if I wanted to use this in my application, should I sign up for my own Google API Key? Or what is the legality of using the same key over and over for multiple websites, say in a template?

    1. admin avatar

      @Aaron, thanks for your reply. It is recommended to signup Google API separately for different website.

  2. Yahwe avatar

    How much is a link to your site? My site

  3. Gowtham avatar

    Its really usefull to me…. Thanks for sharing…

  4. Ruthie Marreel avatar

    One again, your article is very nice

  5. Seb avatar

    This is fantastic – I've been looking for some solutions for getting lat and long from the post code, but this one is the top-notch one. Thanks for sharing!

  6. Lacey Gelber avatar

    This is really great content material. Thank you with this.

  7. Dovie Goth avatar

    hello bros!! Amazing site!

  8. klamki do okien avatar

    Hey there, You've done a fantastic job. I’ll definitely digg it and personally suggest to my friends. I'm confident they will be benefited from this website.

  9. Jayne Kaller avatar

    Good job, post is fantastic

  10. Claudio Soderquist avatar

    Which i dont write-up in Information sites but your site required myself for you to, astounding get the job done. attractive.

  11. Ev Temizlik avatar

    Great blogging. Keep it up 😉 Btw i found my self here while i was searching for "temizlik sirketleri antalya"

  12. Romeo Tanksley avatar

    Hi,this article is great,I found it on google and I appreciate it very much,I agree with what you have said, it help me a lot in decision,but I still have some questions with the last part,can you explain it for me ?I will appreciate your answer,and I will be back again!

  13. Malena Damewood avatar

    I appreciate, cause I found exactly what I was looking for. You have ended my four day long hunt! God Bless you man. Have a nice day. Bye

  14. Nauka jezyka angiels avatar

    It is really a great and helpful piece of info. I am glad that you shared this useful information with us. Please keep us informed like this. Thank you for sharing.

  15. Kathaleen Folliard avatar

    Great write-up, I am normal visitor of one's website, maintain up the nice operate, and It is going to be a regular visitor for a lengthy time.

  16. Marta Sonseca avatar

    Hey! I just want to give a huge thumbs up for the great information you have got here on this post. I can be coming again to your weblog for extra soon.

  17. Mark Sierzenga avatar

    This is all very new to me and this article really opened my eyes.Thanks for sharing with us your wisdom.

  18. Leroy Cousino avatar

    excellent points altogether, you simply gained a new reader. What would you suggest about your post that you made a few days ago? Any positive?

    1. admin avatar

      Hi Leroy, for which post are you talking about? If you want to share anything else, you can write here or just go to our contact page and write your valuable comments. I will be happy to hear from you.

  19. Scottie Lefevers avatar

    This online internet site carries a pretty good offer of pretty good right lower to earth well finding tips also it will require to hold out tremendously well, if it hasn’t already? I appreciated studying about some even though implementing products!

  20. Jamison Haws avatar

    I apperceive i am a smaller away topic, but i just funds to say i adulation the blueprint within the blog. i am new in the route of blogegine platform, so any tips on accepting my internet page analytic good is often appreciated.

  21. Marlene Dull avatar

    This is all very new to me and this article really opened my eyes.Thanks for sharing with us your wisdom.

  22. Buford Beagan avatar

    It’s hard to find knowledgeable people on this topic, but you sound like you know what you’re talking about! Thanks

  23. Matt Riske avatar

    I'm not sure exactly why but this weblog is loading incredibly slow for me. Is anyone else having this issue or is it a problem on my end? I'll check back later on and see if the problem still exists.

    1. admin avatar

      Hi Matt, I think there are some issues at your end. This website is designed and coded such a way to load faster. There is no external script called and I tried to maintain it simplistic look. If you find this issue later too, please feel free to write is from our contact page.

  24. admin avatar

    Hi, this is designed & developed by my team. We are a web development company. We provide web based services. For any future assistance, you can write us from our contact page. We will be happy to assist you.

  25. admin avatar

    Hi, thanks for your comments. You can sign up for our blog update through e-mail and you can find it in the footer area. So, when ever I update any post, you will be notified through e-mail.

Leave a Reply

Your email address will not be published. Required fields are marked *