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

Webmaster General Forum

    
How do you translate zipcodes into city/states
smithaa02

5+ Year Member



 
Msg#: 10320 posted 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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 10320 posted 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

5+ Year Member



 
Msg#: 10320 posted 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

5+ Year Member



 
Msg#: 10320 posted 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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 10320 posted 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

WebmasterWorld Senior Member txbakers us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 10320 posted 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

WebmasterWorld Senior Member txbakers us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 10320 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved