Hi All, I want to create a password for my website by country. Example: When i open my website it open Directly. but then Any Visitor Open the Site From Blocked Country. Site need a password to open. Like: www.Ariansports.com this web is not open in Pakistan without Password. But when i use proxy. it opens Direct Please Help me. Thanks
Research on php geoip. Their are various classes, extensions etc. available, then you can possibly use if statements based on the visitors geoip.
You should do it in following manner: 1. Keep password protection based on country. 2. Implement proxy detector scripts and block access to such visitors. Following link might be helpful regarding proxy detection: http://forums.digitalpoint.com/showthread.php?t=58964 http://www.roscripts.com/PHP_Proxy_Detector-75.html http://www.osix.net/modules/article/?id=765