>- see footer for list info -<
Hey Taz,

We do a similar thing in reverse on one site (block specific IPs based
on range or country) for keeping out Nigerian scammers.

Cut'n'paste from our wiki:

------------------------8<------------------------
A downloadable CSV of IP addresses to countries is available at
http://ip-to-country.webhosting.info/

Information on optimisation of country lookups in MySQL:
http://ip-to-country.webhosting.info/node/view/384

IP address to IP number formula:
http://ip-to-country.webhosting.info/node/view/261
------------------------8<------------------------

If you need it I can provide you with a basic MySQL structure and maybe
some blocking code?

Tim.


--
-------------------------------------------------------
 TB: http://tim.bla.ir/  Tech: http://tech.badpen.com/
-------------------------------------------------------
     RAWNET LTD - independent digital media agency
     "We are big, we are funny and we are clever!"
                http://www.rawnet.com/
-------------------------------------------------------
This message may  contain information which  is legally
privileged  and/or  confidential.  If  you are  not the
intended  recipient, you  are hereby notified  that any
unauthorised  disclosure, copying,  distribution or use
of  this  information   is  strictly  prohibited.  Such
notification  notwithstanding,  any comments, opinions,
information  or conclusions  expressed in  this message
are those of  the originator,  not of  rawnet  limited,
unless otherwise explicitly and independently indicated
by  an  authorised  representative  of  rawnet limited.
------------------------------------------------------- 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Taz
Sent: 05 June 2006 09:34
To: [email protected]
Subject: [CF-Dev] OT: IP to Country location databases

>- see footer for list info -<
A client is desperate to restrict certain areas of their site according
to the user's country. I won't go into the reasons here.

I've explained that this is not an exact science, since many users' ISPs
will use IP address ranges that will give inaccurate results (Prime
example is AOL, which will bring up everything as Virginia, US. I've
suggested a mixture of IP zoning and an option for users to choose "I
don't live here" and set the country of origin themselves, but it would
seem that this is not good enough.

So my question is, what's the most accurate resource out there for
getting country by IP? Does anyone have experience with this sort of
thing, and if so, is it possible to get 100% accuracy? Are there any
other options?

Cheers
Taz
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help

>-<
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to