Anyone able to help or knows how this works?
you can do it.....but it wont be accurate....if you were do to it by state you prob be ok.....but by city you will be pretty far off....just use the geoip PHP lib from maxmind
http://locationdetection.mobi/
This is very accurate, but it requires the user to accept sharing the location, which alot won't do.
http://stmforum.com/forum/showthread...ipt-for-mobile