Search by distance

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Search by distance

Post by s.dot »

Alright, I'm sure this is a pretty popular request... but I'd like to have a feature to search by distance (between two US zipcodes).

Logic:
I'd need to find (perhaps buy (yuck)) a database with zipcode-> city, state listings, perhaps even a flat file.
I'm pretty positive I could code the search myself (except for the part which calculates distance between two zips).

Does anyone know where I could perhaps find a database of zips?
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

Post Reply