Results 1 to 3 of 3
-
06-20-2007, 11:20 PM #1Web Hosting Guru
- Join Date
- May 2006
- Location
- /home/India/Kolkata
- Posts
- 314
Easily block visitors by country using GeoIP PHP Extension
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
Feel free to Social Bookmark if you find it useful.
Cheers!
-
06-20-2007, 11:48 PM #2Web Hosting Evangelist
- Join Date
- Mar 2005
- Location
- Michigan, USA
- Posts
- 529
Very nice tutorial If this forum had rank I would rate you up.
-
06-21-2007, 03:41 AM #3Web Hosting Guru
- Join Date
- May 2006
- Location
- /home/India/Kolkata
- Posts
- 314
Thanks...good to see that you like it.