PHP ZIP Code Locator 4.0 - FAQ
Performs radius searches on any existing location table that contains a 5-digit ZIP code.
- Works with your location tables, no need to reload your data into vendor tables.
- Compatible with international data.
- Includes ZIP code database with latitudes and longitudes.
- No recurring costs/subscription fees.
- Fully customizable input forms and output display.
Use it for store/dealer locators, community member profiles, etc.
- Added ability to use alternate postal code data tables (i.e., other than U.S. ZIP codes)
- Added ability to perform a LEFT JOIN of main location table with other tables
- Simplified Locator class
- Updated ZIP code data
- Updated user manual
- Added more examples
Version history at freshmeat.
PHP ZIP Code Locator is a PHP web server script that allows website developers to quickly, easily and affordably implement a professional ZIP code locator system on their site.
It performs radius searches on any table in your MySQL database that contains a 5-digit ZIP code column. Unlike other ZIP code locators, there is no need to reload your location data into a vendor-supplied location table.
Simply tell it the name of your location table and the name of the ZIP code column and let it do the rest. Users can then quickly locate your store locations, dealers, distributors, members, etc.
With this script, flexibility is the ultimate design goal. It works with any location table, any U.S. ZIP code data, and allows the web developer total control of the input/output format. It can automatically create a basic search form and generate an HTML table containing the search results. Or if you want, define the search form and output format yourself.
You can also easily add additional query fields to your search form. These can be used to limit the search results based on any additional columns in your location table. You can also have the search form on one page and the results displayed on another.
The locator includes a sample location table and web page examples. Change a couple lines in one of the example pages, and you will be instantly searching your own location tables.