The location data is essentially in a tree structure. So when you ask someone for their address you would like to know what Area/Suburb, City/Town, State/Province and Country that they live in.
This data will hopefully be set up only once and need very little modification. Most E-commerce sites and a lot of others would need to store this type of information but I am struggling to find much about it. Maybe because I am not searching for the right term but I thought it would be a common problem that has already been solved.
This leads to another question. Where could I get my hands on this type of information like what areas belong in which city, which cities belong in which states and which states belong in which countries?
EDIT: To make things more complicated I would like to be able to provide a generic sort of solution because for example some countries don't use zip codes, they use postal codes, it is sort of the same thing but not quite. My big desire is to have Area/Suburb -> City/Town -> Region/Province/State -> Country. I might be attempting the impossible.
EDIT2: Sorry I might not have been clear enough but I don't need zip codes. Just the Suburb/Area NAME -> City........