PHP Classes

Value of latitude and longitude: Value of latitude and longitude than can help me to

Recommend this page to a friend!
  All requests RSS feed  >  Value of latitude and longitude  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Value of latitude and longitude

Edit

Picture of ms by ms - 8 years ago (2016-07-04)

Value of latitude and longitude than can help me to

This request is clear and relevant.
This request is not clear or is not relevant.

+4

please give me an example in php script that can view latitude and longitude when we click my location ..and we can save to a DataBase TQ

Ask clarification

2 Recommendations

Very Simple IP Details: Get IP address location and Google Maps image

This class can get IP address location and Google Maps image.

It can send a HTTP request to the IPInfo.io API to get the geographic location details of a given IP address. Currently it can obtain IP address country code, region, city, postal code, latitude, longitude, hostname and organization.

The class can also return HTML to embed a static image from Google Maps showing the geographic location of the IP address.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of zinsou A.A.E.Moïse by zinsou A.A.E.Moïse package author package author Reputation 6835 - 7 years ago (2017-08-15) Comment

This class can be used to get geographic location of a given IP address.

It sends a request to a Web server of ipinfo.io to retrieve details about a given IP address.

Currently it can obtain geographic details about the location of the computer with the IP address, such as: country code, region, city, postal code, latitude, longitude, hostname and organization and a static map from google staticmap.it supports PHP 4 and >.


Salat Reminder: Generate a feed with the Salat times of a location

This class can generate a feed with the Salat times of a location.

It tries to find the current user geographic location based on the IP address and generates an feed in Atom format with the upcoming Salat prayer times.

The generated feed entries have links to Islamic Finder site.

The IP address location can be cached on a file to avoid overhead of determining the user geographic location again.
This recommendation solves the problem.
This recommendation does not solve the problem.

+2

Picture of Karl Holz by Karl Holz package author package author Reputation 135 - 8 years ago (2016-07-07) Comment

I use a class call 'ip2location_lite' in my SalatReminder Class, it will return the longitude and latitude values that you're looking for plus some other information based on the ip address or hostname you provide. take a look at the 'salatcast.class.php' file in the '__construct()' function to see how I used the class in 'ip2locationlite.class.php'.

You should check out their site; there is a link to IP2Location on the main page of PHPclasses in the innovation award prizes section; then on that page look at the Free Database section near the bottom of the page.

Hopefully this will help you out.


Recommend package
: 
: