Night_Tripperz Posted January 23, 2007 Share Posted January 23, 2007 Many websites I have something like a store locator where you enter a zipcode and it gives nearby stores up to 20 or 30 miles from your zip code. How would I go about making something like this?Thanks! Link to comment https://forums.phpfreaks.com/topic/35435-zip-coad-locator/ Share on other sites More sharing options...
Jessica Posted January 23, 2007 Share Posted January 23, 2007 You'd need a zip code database, and then some functions to calculate the distance.Here is the database I use:http://www.micahcarrick.com/v2/content/view/4/22/It looks like they have added a class for working with the distances too, so that should help. Link to comment https://forums.phpfreaks.com/topic/35435-zip-coad-locator/#findComment-167660 Share on other sites More sharing options...
phpfreak Posted January 24, 2007 Share Posted January 24, 2007 [quote author=jesirose link=topic=123730.msg511863#msg511863 date=1169595078]You'd need a zip code database, and then some functions to calculate the distance.Here is the database I use:http://www.micahcarrick.com/v2/content/view/4/22/It looks like they have added a class for working with the distances too, so that should help.[/quote]Hey, that's a nice class. Nice find there! Link to comment https://forums.phpfreaks.com/topic/35435-zip-coad-locator/#findComment-167739 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.