Log in

View Full Version : Country Only



Aces
27-06-2008, 09:14 PM
Is there a nice and easy code to block out all IP's from entering the website except the ones from a specific country?
Also, is it possible to redirect people who cant access the website to another website?

[Oli]
28-06-2008, 09:43 PM
Hi,

This can be done using the visitor's IP-Address
You can find scripts on google quite easily, such as these:

http://www.hotscripts.com/Detailed/78803.html
http://ip-to-country.webhosting.info/book/print/5
http://www.google.be/search?hl=nl&q=country+detection+script&btnG=Google+zoeken&meta=

[That google search is .be (belgium) but the results shown are in english]

Want to hide these adverts? Register an account for free!