PHP Classes

User location using an API: Search user location with an API

Recommend this page to a friend!
  All requests RSS feed  >  User location using an API  >  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  

User location using an API

Edit

Picture of Vipin.RV by Vipin.RV - 8 years ago (2015-08-01)

Search user location with an API

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

+3

I want obtain the user location details automatically.

I want search and take location details by suburb.

  • 1 Clarification request
  • 1. Picture of Manuel Lemos by Manuel Lemos - 8 years ago (2015-08-04) Reply

    When you say the user location, do you mean the user accessing a Web page?

    Usually you get the IP address and call some API or search a location database file to find an approximate postal address associated with that IP address.

    Is this what you want?

    Ask clarification

    2 Recommendations

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

    This recommendation solves the problem.
    This recommendation does not solve the problem.

    0

    Picture of zinsou A.A.E.Moïse by zinsou A.A.E.Moïse package author package author Reputation 5840 - 6 years ago (2017-08-20) Comment

    new requesters could try this


    Localization class: Detect user location using HTML 5 API or GeoIP API

    This recommendation solves the problem.
    This recommendation does not solve the problem.

    +1

    Picture of Manuel Lemos by Manuel Lemos Reputation 23325 - 8 years ago (2015-08-15) Comment

    This seems to be two requests, one to get the user location and another to search something near the user location.

    This class can be used to detect the user location with good accuracy with the help of some browser side HTML5 APIs if the user device has some GPS or some other way to tell its geographic coordinates.


    Recommend package
    : 
    :