GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   how to block IPs from a certain location? (https://gfy.com/showthread.php?t=629533)

Praha 07-04-2006 09:09 PM

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?

NoHassleSteve 07-04-2006 10:27 PM

Could try to use one of the free GEO IP Databases?

http://www.google.com/search?ie=UTF-...IP%20databases

Praha 07-04-2006 10:59 PM

thanks.. I found a solution actually.

tunafox 07-05-2006 12:08 AM

Quote:

Originally Posted by Praha
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?

You could use an ip blocker :1orglaugh :1orglaugh :1orglaugh

But seriously, I would be interested in your solution...

cdnjpn 07-07-2006 11:58 AM

Hi Praha,
Yes! Please share your solution! I'm trying to do this as well. Thanks.
Chris

Praha 07-09-2006 09:15 PM

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.

frakyou 07-09-2006 11:02 PM

What do you have against Ontario other than the fact that they're Canadians?

rickmercer 07-10-2006 09:07 AM

must live in ontario.... :upsidedow


All times are GMT -7. The time now is 02:18 AM.

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