Passwod Protection Help.

Discussion in 'PHP' started by yazuhost, Jan 16, 2010.

  1. #1
    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
     
    yazuhost, Jan 16, 2010 IP
  2. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #2
    Research on php geoip.

    Their are various classes, extensions etc. available, then you can possibly use if statements based on the visitors geoip.
     
    danx10, Jan 16, 2010 IP
  3. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #3
    mastermunj, Jan 17, 2010 IP