PDA

View Full Version : locations by zip codes


mrholt
11-25-2002, 03:05 PM
I need to build a page where the user can type in his/her zip code and the page will return the close locations to them any ideas how i can do this?

Thanks
Matt

Mhtml
11-26-2002, 10:23 AM
Hmm...this is a tough one. I think this is why you haven't got a reply from anyone as this may be difficult to achieve.

First of all do you know asp? If not you will need to learn it OR I could actually make this script for you with the only cost being a link to my website...

It will not take very long I think but I may be wrong and there would be a lot of validation involved.

First of all what country is this for, how many post codes are there?

I need the number of post codes to make this work...Also as the post codes increment the places that are close in number are close in relative distance right?

Example;
Place X has the Pcode of 2567 and place Y has the pcode of 2568.
Place X is closer to place Y then place Z which has the post code of 3201

If this is different this would be a lot harder and would take a lot longer...and I mean a lot longer.

mrholt
11-26-2002, 02:36 PM
Yes i know ASP and this is for Georgia, US. THe Problem is that I don't under stand how Zip codes work here in the US.

After my post i found some software at www.zipcodedownload.com for cheap that might save me alot of time and work.

thanks

whammy
11-27-2002, 12:52 AM
You could only give a general location, anyway - but I assume you're doing this for something like what Pizza Hut does on pizzahut.com with its restaurant finder.

If you still end up needing help with it, and you have a list of relevant zip codes (the most important piece of the puzzle!), please let us know.

:)

BigDaddy
11-27-2002, 01:54 AM
Check out:

http://www.usps.com/zip4/citystate_response.jsp

It'll give you a list of zip codes for your town. With that, it ought to be easy enough to give all your "Pizza Hutt"s a zip code in a database, and then you can list all Pizza Hutts according to if they match the zip code entered.