SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Sep 2004
    Location
    Provo, UT
    Posts
    858
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Need options for Zipcode lookups

    I want to send out emails to people in my database if their zipcode is within 50 miles of a given zipcode. Is there an easy way to set this up?

    Thanks.

    Rob

  2. #2
    chown linux:users\ /world Hartmann's Avatar
    Join Date
    Aug 2000
    Location
    Houston, TX, USA
    Posts
    6,455
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    I am using the database of zipcodes and their corresponding cities, latitudes, longitudes, and timezones from http://civicspacelabs.org/zipcodedb. You can then use a calculation like: http://www.phpbuilder.com/snippet/do...nippet&id=1833 to get the distance between those points.


Bookmarks

Posting Permissions

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