![]() |
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?
|
Could try to use one of the free GEO IP Databases?
http://www.google.com/search?ie=UTF-...IP%20databases |
thanks.. I found a solution actually.
|
Quote:
But seriously, I would be interested in your solution... |
Hi Praha,
Yes! Please share your solution! I'm trying to do this as well. Thanks. Chris |
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. |
What do you have against Ontario other than the fact that they're Canadians?
|
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