Results 1 to 4 of 4
  1. #1

    Zip Code Store Locator

    Has anybody ever made a store locator that uses php before? If there an easy way of doing it, or is it just a matter of mapping out a mile radius per-zip-code and then doing alot of math with php?

    Thanks!

  2. #2
    Join Date
    May 2004
    Location
    Lansing, MI, USA
    Posts
    1,548

    Re: Zip Code Store Locator

    Originally posted by Imperial.Paul
    Has anybody ever made a store locator that uses php before? If there an easy way of doing it, or is it just a matter of mapping out a mile radius per-zip-code and then doing alot of math with php?

    Thanks!
    Buy one of those $15-35 databases that have zip codes and lat-long coordinates.

    If you want to get further technical, get one that has street address ranges.

    Then it's just a matter of comparing the lat-long of one place to the lat-long of another, and you can know generally what your 'variance' will be for a certian milage.
    Jacob - WebOnce Technologies - 30 Day 100% Satisfaction Guarantee - Over 5 Years Going Strong!
    Website Hosting, PHP4&5, RoR, MySQL 5.0, Reseller Hosting, Development, and Designs
    Powered By JAM - Professional Website Development - PHP, MySQL, JavaScript, AJAX - Projects Small & Large

  3. #3
    Join Date
    Mar 2004
    Location
    USA
    Posts
    4,342

    Re: Re: Zip Code Store Locator

    Originally posted by WebOnce
    Buy one of those $15-35 databases that have zip codes and lat-long coordinates.

    If you want to get further technical, get one that has street address ranges.

    Then it's just a matter of comparing the lat-long of one place to the lat-long of another, and you can know generally what your 'variance' will be for a certian milage.
    Why..... when you can get it 4 free?

    http://sourceforge.net/projects/zips/

    Peace,
    Testing 1.. Testing 1..2.. Testing 1..2..3...

  4. #4
    Join Date
    May 2004
    Location
    Lansing, MI, USA
    Posts
    1,548
    Ah yes, had forgotten about that!
    Jacob - WebOnce Technologies - 30 Day 100% Satisfaction Guarantee - Over 5 Years Going Strong!
    Website Hosting, PHP4&5, RoR, MySQL 5.0, Reseller Hosting, Development, and Designs
    Powered By JAM - Professional Website Development - PHP, MySQL, JavaScript, AJAX - Projects Small & Large

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •