Getting the full city list from maxminds geoip database


Posted on 16th Feb 2014 07:03 pm by admin

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

Did you know?Explore Trending and Topic pages for more stories like 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
No comments posted yet

Your Answer:

Login to answer
286 Like 11 Dislike
Previous forums Next forums
Other forums

error help - Dynamic Image
I've been working on making my site less cluttered in the directories and more secure lately. In an

i have no idea why this isn't working
Code: <?php
session_start();
include("connect.php");

error_reporting(E

Please Help my PHP Dating Function.
Hi everyone!

Well here is my code that displays this:

It works wonderful.


PHP Multiples of 2, Show posts...not working (wordpress)
I have been using this code to show div.example with 6 li columns inside it, each li is a post with

losing variables between php brackets
Hi

have got this code:
Code: $id=mysql_result($result,0,"itemid");
$title=mys

Is it a good practice to store user info. in sessions?
I am making a user class for my script which stores all the user information in sessions. It takes u

disabling a button server-side then re-enabling client-side breaks button postback
I have a tabbed container and a button (not in the container) on a page. If the first tab is selecte

Open browser page depending on XML results
Hello,

I have some PHP code that sends webbased from data to an external url ( in the form of

How to update this array?
I am saving a string that looks this: username1, username2, username3...
into a single cell in a

Array disappearing in foreach loop
Okay, I have this problem where an array will become undefined in a foreach loop.

Here is the

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash