GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How to filter traffic according to country (https://gfy.com/showthread.php?t=932292)

Jakez 10-08-2009 01:12 PM

How to filter traffic according to country
 
I had a big text file like a year ago that I used to get a visitors country location based on their IP, but I lost it :(

Anyone have some stuff like this?

rowan 10-08-2009 01:31 PM

Here's a free database that's regularly updated - http://www.maxmind.com/app/geolitecountry

If you have MySQL then it should be easy to import & query.

u-Bob 10-08-2009 02:14 PM

maxmind + 1

After Shock Media 10-08-2009 02:16 PM

bookmarked, thanks. Will come in handy.

Jakez 10-08-2009 03:10 PM

Quote:

Originally Posted by rowan (Post 16409816)
Here's a free database that's regularly updated - http://www.maxmind.com/app/geolitecountry

If you have MySQL then it should be easy to import & query.

Hey, that looks even better than what I was doing before, majors props and thanks! :thumbsup

woj 10-08-2009 06:23 PM

maxmind is good stuff :thumbsup

asianseekerz 10-08-2009 09:02 PM

thanks for the info ;)

fris 10-08-2009 10:57 PM

or you could filter it based on language

Killswitch - BANNED FOR LIFE 10-08-2009 11:10 PM

Maxmind, or hit up www.GeoPlugin.com, Andy (BorkedCoder) has been making this baby for a while.

Iron Fist 10-08-2009 11:12 PM

MaxMind FTW

Jinx 10-08-2009 11:36 PM

Another Maxmind vote here

istanboys 10-09-2009 03:40 AM

Do you know this one? http://www.blockacountry.com/

rowan 10-09-2009 03:48 AM

Quote:

Originally Posted by istanboys (Post 16412487)
Do you know this one? http://www.blockacountry.com/

That generates a htaccess file that lists every IP range for the countries you specify. Seems pretty painful to have to parse thousands of deny lines for every request (including images)...

rowan 10-09-2009 03:49 AM

Following up from above ^^^

I did a fairly restrictive setup which disallowed everything except major known countries in the north america, UK, Europe and pacific regions.

The generated htaccess is 17,500 lines long!!!


All times are GMT -7. The time now is 12:10 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc