Michael.. helpful as ever! cheers! What I would really really love is a list of a country and the ip address next to it, basically so I can block out browsers from specific countries from viewing the website via the .htaccess file.
The problem is that it is not just one range for each country it's many thousands of ranges for each country. Definitely not something you would want in your .htaccess - Michael
You can dump them in a database and present a nice F Off! to those you don't want. Or a 404. I use the GeoMax DBs.
No joke. The more detailed the info, the larger the number of records you are going to have. For example to drill down to country -> region -> city it's about 1.8M records in the database for this tool: http://www.digitalpoint.com/tools/website-country/
What you can do is sign up at maxmind.com , get a paid subscription. They have scripts for php, pearl etc . Intergrate it with a code of php to check what country they are from? Allow the onces you want in and redirect the onces to another page or maybe another website. Why do you want to exclude certain visitors? To lower your CTR for Adsense or?