gerkintrigg Posted March 1, 2010 Share Posted March 1, 2010 Is there a PHP method to only allow people to access it who come from one country? How'd I do that? are there third party scripts to allow me to do so? Does it need to be linked to an IP database? Quote Link to comment Share on other sites More sharing options...
aebstract Posted March 1, 2010 Share Posted March 1, 2010 Does it need to be linked to an IP database? From what I've read/seen, yes. You need to get their IP and match it to an IP/country database. Quote Link to comment Share on other sites More sharing options...
Psycho Posted March 1, 2010 Share Posted March 1, 2010 Here's one place to start. I can't speak to the quality of the list though: http://ip-to-country.webhosting.info/node/view/6 Quote Link to comment Share on other sites More sharing options...
jl5501 Posted March 1, 2010 Share Posted March 1, 2010 It does need an IP database, and is fairly, but not 100% accurate. I know someone with such a sytem. I will get a url for you. Quote Link to comment Share on other sites More sharing options...
jl5501 Posted March 1, 2010 Share Posted March 1, 2010 Have a look at http://www.wordpresssecured.com/BadBot-Killer/apanel/login.php admin/admin There is more there than a country blocker but have a look anyhow Quote Link to comment Share on other sites More sharing options...
gerkintrigg Posted March 3, 2010 Author Share Posted March 3, 2010 woah. Importing that database is taking ages! Thanks for the heads up. I'll see what I can do. Quote Link to comment Share on other sites More sharing options...
LeadingWebDev Posted March 3, 2010 Share Posted March 3, 2010 this ip2loc db have a good detection http://www.maxmind.com/app/lookup but they are not free Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.