What is the best PHP mobile location finder class? #mobile location finder
Edit
by Imran Javed - 9 years ago (2016-02-19)
Find mobile user location
| How do I find the location of a mobile user? |
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.
| by zinsou A.A.E.Moïse package author 6835 - 7 years ago (2017-08-20) Comment
you can also try this |
Localization class: Detect user location using HTML 5 API or GeoIP API
This class can detect user location using HTML 5 API or GeoIP API.
It can generate HTML with JavaScript code to detect the user location using Google Maps API on a browser that implements the HTML 5 geo-location API.
The class can also determine the user location by sending a HTTP request to the GeoIP API Web server to retrieve the location associated to the current use IP address.
| by Manuel Lemos 26695 - 9 years ago (2016-02-28) Comment
You can find the location of users using their IP address and a geo-location database or Web service but that is sometimes not very accurate.
An alternative is to use HTML5 geo-location API to determine the location of the user on the browser side if JavaScript is enabled and the access to that API is authorized by the user.
This class provides both solutions so you can use one or the other depending on what is possible. |