Monday, 24 August 2015

Detecting Browser Geolocation Info

One interesting aspect of web development is geolocation; where is your user viewing your website from? You can base your language locale on that data or show certain products in your store based on the user's location. Let's examine how you can use the geolocation API to get location details!

Feature detection is the best way to confirm the Geolocation API is avilable.
if("geolocation" in navigator) {
 }else {
         alert("No soup for you!  Your browser does not support this feature");

Wednesday, 19 August 2015

Get address from Latitude and Longitude Coordinates in php

Get address from Latitude and Longitude Coordinates in php Get Address from given Latitude and Longitude Coordinates using google map api called Reverse Geocoding. It is the process of converting geographic coordinates (Latitude and Longitude) into addresses. Here is a little php function to get address from latitude and longitude.

previously explain about getting latitude and longitude values from Google Maps API, based on the town, city or country location.

Monday, 17 August 2015

IMDB API implementation to get movie information

IMDb (Internet Movie Database) is the biggest database of movie information on Internet. IMdb has over 2 million titles of movies and episodes. IMDb is a reliable source for movie information to be used for web applications related to movie and television episodes. Unfortunately IMDb has not published APIs to get the movie information programatically. But fortunately there exists a third party API source ( from which IMDb movie information can be fetched programatically and used in our applications. The OMDb (Open Movie Database) APIs were developer by Brian Fritz and are widely used to get IMDb movie information.