Web Hosting Talk







View Full Version : Easily block visitors by country using GeoIP PHP Extension


agnivo007
06-20-2007, 11:20 PM
Hi everyone,

Many webmasters (mainly proxy website owners) often search for an efficient way to block traffic from non-converting countries. Mostly, people manually ban IP address ranges through .htaccess which is really cumbersome and wastes valuable time.

So, if you have your own VPS, feel free to follow my tutorial and block traffic from any country or region with a single line of PHP code that is nearly as fast and efficient as the .htaccess method, perhaps more accurate too!

Here's the tutorial : Block Non-converting, Spam Traffic by Country : GeoIP PECL PHP Geo-Targeting (http://www.agnivo.com/webmasters/block-ip-country-spam-traffic-geoip-geo-targeting-107.html)

Feel free to Social Bookmark if you find it useful.

Cheers!

Soulwatcher1974
06-20-2007, 11:48 PM
:agree: Very nice tutorial If this forum had rank I would rate you up.

agnivo007
06-21-2007, 03:41 AM
Thanks...good to see that you like it.