Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

zip code radius search

Guest
Mar 07, 2008 Mar 07, 2008
PHP/MySQL

I want to build a search query that has several filters, including a search by zip code with a drop selected radius of miles from that zip code... similar to many jobs sites and other store location types models.

Any suggestions?
TOPICS
Server side applications
372
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 08, 2008 Mar 08, 2008

Not tried this, but used some of the databases for other things.

http://www.ip2location.com/ip-country-region-city-latitude-longitude-zipcode.aspx

above will get you the users zip code along with latitude-longitude

below is for asp users to calculate the distance between latitude and the
longtitude. they have this avail for other code formates too.


ASP
http://www.geodatasource.com/samples/distance.asp.txt

calculations for other programming languages

http://www.geodatasource.com/developers.html

k




Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 10, 2008 Mar 10, 2008
LATEST
using php.

i've found some databases with zips, and some codes... but right now i'm contemplating on whether it's even worth doing... a lot involved.

anyone had a great way of doing this that's really simple?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines