Jump to content

Getting the full city list from maxminds geoip database


shadiadiph

Recommended Posts

I am suprised I can't find any references to this.

 

I have maxminds geoip lite installed and it works fine can retrieve the country and a city state every time no problem but it is not accurate it gets the wrong city due to ipaddresses in my country not being properly registered so my question is how can I retrieve the full city list from the country selected to show in a drop down form list i tried echo $city in select but it only reyrns the one. I dont seem to be able to see get_city_by_name() function anywhere any tips will be appreciated thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.