How to determine a zip code and city from an IP address? [closed]
I am looking for advice for open API or 3d party products which will help to convert an IP address to a zip code and city, to make geo-specific web site content. What I use is ip2nation: http://www.ip2nation.com It is a completely free MySQL database of IP to country mappings. They include a few sample PHP scripts at their site. I use it on my WordPress blog along with Ozh's free IP to Nation WordPress Plugin Even if you are not using WordPress, download the plugin as it will give you a good set of PHP code to access the database with. He even has a nice set of tiny country flags that you can