![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Registered User
Join Date: Nov 2005
Posts: 18
|
how to block IPs from a certain location?
Actually I know how to block the IPs, I just am having trouble finding the ranges. I need to block IPs from Ontario, can anyone tell me how to find the IP ranges to block?
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jul 2004
Location: South Florida
Posts: 450
|
Could try to use one of the free GEO IP Databases?
http://www.google.com/search?ie=UTF-...IP%20databases |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Join Date: Nov 2005
Posts: 18
|
thanks.. I found a solution actually.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Apr 2006
Location: Australia
Posts: 275
|
Quote:
![]() ![]() ![]() But seriously, I would be interested in your solution... |
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Join Date: Jun 2006
Posts: 19
|
Hi Praha,
Yes! Please share your solution! I'm trying to do this as well. Thanks. Chris |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 |
Registered User
Join Date: Nov 2005
Posts: 18
|
ok.
these guys have a nice free script that blocks countries: ip2country.net/ip2country/ took a bit to get the hang of it, but it works. I wanted to block more specifically than that so I bought their ip2region database.. and then found out it wouldnt work with the country blocking script. which seems very silly to me.. and these guys could have a nice product if they updated the script a little... however I emailed them and explained what I wanted to use the region db with the country blocking script and they sent me some replacement PHP code to make it work! good customer service. |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#7 |
Registered User
Join Date: Jun 2006
Posts: 2
|
What do you have against Ontario other than the fact that they're Canadians?
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#8 |
Registered User
Join Date: Mar 2006
Posts: 7
|
must live in ontario....
![]() |
![]() |
![]() ![]() ![]() ![]() |