5
I need to take the city that the user is in at the time of access to the Control Panel of the Site.
'Cause I need this?
I’m willing to block access to the control panel only for my client’s city, when he doesn’t have IP fixed, if he has, I lock access only to his fixed IP.
I’ve tested the GEOIP, but it gives me a very large distance, for example:
I put my IP and he showed me a town 50 miles from where I am.
Someone knows how to do it?
I’ll take a look to see how it works. Thanks for the time being
– Alexandro Zaleski
I took a look and to register says I have to have an "IP server", I believe it should be a fixed ip, thing I do not own, so I think I will not be able to register and test :( correct me if I’m wrong, please.
– Alexandro Zaleski
This geoplugin was one of the ones I tested and returned me a city more than 50 km away from where I am.. and the ipinfo, returned me that I am in Porto Alegre.. that gives about 40 km of my city...
– Alexandro Zaleski
Sorry, I don’t have enough knowledge to collect IP very accurately, I don’t know if it’s easy to find a service like this. I recommend a better study on this, try on Google so "ip Location with Precision", in English is better because it has more possibility to have better information. If you know something, share it here later. = ) Good luck!
– Adriano Resende