Password Protection

Discussion in 'PHP' started by harryoxford, Sep 18, 2009.

  1. #1
    Hi,

    Is there anyway to password protect a page via PHP? The user enters the password given and they will see the page, and there is no other way to access it other then the password e.g. entering the URL ... ?
     
    harryoxford, Sep 18, 2009 IP
  2. SubZtep

    SubZtep Member

    Messages:
    69
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    48
  3. Justin_Timberlake

    Justin_Timberlake Guest

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    or you can protect pages with .htacces and .htpassword

    look at: elated.com/articles/password-protecting-your-pages-with-htaccess/
     
    Justin_Timberlake, Sep 18, 2009 IP
  4. eSoft.in

    eSoft.in Member

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    eSoft.in, Sep 18, 2009 IP
  5. ghprod

    ghprod Active Member

    Messages:
    1,010
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #5
    use session for authenticating some action :)

    or you can google with dork : simple php login


    reagrds
     
    ghprod, Sep 18, 2009 IP
  6. szalinski

    szalinski Peon

    Messages:
    341
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    harryoxford is a spam bot, how can it be possible to type all this many posts within 1 second of each other?
     
    szalinski, Sep 19, 2009 IP