Skip to main content


Showing posts from May, 2015

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. Create a PHP page say ‘postal_lang_long.php’ . Put the following codes in the PHP file. Now place your PHP file in your web server and open the file in any browser. Now in your browser you can see a text box asking for the name of the place. Enter the place-name and hit ‘go’ button. That’s all, you will be shown the latitude and longitude of your location.