/    Sign up×
Community /Pin to ProfileBookmark

handling distance by zip, country, etc.

right now i have mysql tables for countries, and states (us only). i want to have a table of zip codes (since they don’t change i am assuming).

my goal is to determine distance between zip codes. can i do this regardless of what country the user is in?

if i could get the users zip code, handling their country and state could happen in the backend, but i don’t know how to find the data for me to do that with.

any help is appreciated.

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@BarrieHieMar 18.2007 — Hey, google is a neat thing...

http://www.cryptnet.net/fsp/zipdy/

Barrie

BTW: I think is only good for the US, but it's a start.
×

Success!

Help @JDM71488 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...