geting county name

Hello folks,

I want to get the COUNTY names of unites states of America probably using ip address…I used below link to get state,city ,zip code etc…But could not get in which COUNTY the city is located…its king of urgent thing…please help me out in this…I would be really grateful.

http://api.ipinfodb.com/v2/ip_query.php?key=d7859a91e5346872d0378a2674821fbd60bc07ed63684c3286c083198f024138&ip=’.$_SERVER[‘REMOTE_ADDR’].’&timezone=false

Try GeoLight City, it’s free. You can download and set up binary database on your server, and they have PHP API with usage examples.

Sponsor our Newsletter | Privacy Policy | Terms of Service