Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: SidFishesPosted on 2009-10-29 at 08:00:10ID: 25694407
have a quick look at this basic slideshow on geolocation from a cfunited prez 41OuzDemir kapGeoloca tion
_database. php
og/1489-Fi nding-The- Distance- B etween-Lat itude-Long itude-Loca tions-In-C oldFusion. htm
http://slidesix.com/view/2
you'll need a db ... the ip table at
http://www.ipinfodb.com/ip
has both ip addresses and post codes
look up the users IP or use the entered zip to look up the lat & lon
then use http://www.bennadel.com/bl
to calculate the distance and query (reverse of what Ben is doing) to find nearby lat & lons
show on map using cfgooglemap.riaforge.org
or upgrade to cf9 and use cfmap :)