Er. Rochak Chauhan - 2009-01-28 12:16:55 - In reply to message 1 from Aaron
I hope you do download the database in csv/txt format. If not download it before running this class. The link is provided in the class page.
alternatively you can use API to find county from IP for free.
Its called: GeoIP API Connector
More link: http://rochakchauhan.com/blog/2009/01/27/geoip-api-connector-get-geographic-location-of-ip-address-from-geoip/