homepage Welcome to WebmasterWorld Guest from 184.73.87.85
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
How do you translate zipcodes into city/states
smithaa02




msg:354196
 5:59 pm on Nov 18, 2005 (gmt 0)

I collect zipcodes on my website and want to display the zipcodes with their appropriate cities and states so I know where my users are coming from. How would I do this? I was thinking about having php parse a text file with zipcode state/zip fields, but I can't find this type of information on the net. Does anybody know where you can download zipcode information or if there is any other easy way to do this?

 

Philosopher




msg:354197
 6:23 pm on Nov 18, 2005 (gmt 0)

do a quick search for "zip code database". It brings up a number of sites selling zip code databases. It's then a simple matter of comparing the entered zip to the db to know where they are.

smithaa02




msg:354198
 7:34 pm on Nov 18, 2005 (gmt 0)

If anyone is interested I found a mysql table dump containing all the zipcodes and their information for free at [civicspacelabs.org...]

smithaa02




msg:354199
 8:08 pm on Nov 18, 2005 (gmt 0)

The table I found actually include latitude and longitude for each zip code. Does anybody know a simple way to overlay this information over a dynamic map with php/mysql? So a map of the US would appear and dynamic points would be generated on the map where users supplied their zip codes?

TheDoctor




msg:354200
 9:15 pm on Nov 20, 2005 (gmt 0)

If anyone is interested I found a mysql table dump containing all the zipcodes and their information for free at [civicspacelabs.org...]

This produces a 404 :(

txbakers




msg:354201
 10:56 pm on Nov 20, 2005 (gmt 0)

get the 404, then take off the last period (dot) to get the zip file.

txbakers




msg:354202
 1:09 am on Nov 21, 2005 (gmt 0)

be careful though, the first 7 lines were wrong, which makes me suspect the rest of the file.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved