Welcome Guest, Not a member yet? Register   Sign In
Capturing IP Location details

I need to capture IP of the user along with the Geo Location details when user submits the form. Plz help

Hi ,

There are several good libraries in the wiki section :



Hope it helps,

Thanks, thats really useful, this needs that we need to have updated db to work.
Is there any geoip locator online through which we can fetch the location details by passing the user ip as parameter.


There should be some webservices providing such a service. I'm have not used them though.
A google search lead me to this : http://www.fraudlabs.com/ip2location.aspx

This is called "GEO targeting", you might find interesting stuff googling that term.

Hope it helps
p.s : this is my exact 100th post in CI forums Tongue

I just signed up for this API the other day:

Haven't had time to look at it yet, though it looks very intersting

Hi eoinmcg,

In geoAPI.com I couldn't find a way to decode IP to geo location, does it have this feature ?


i am :-) newbie to CI and i have contributed a plugin to get user’s geo location details by current/given IP address.

Geo Location by IP

Hope it helps you.

Theme © iAndrew 2016 - Forum software by © MyBB