PHP Password Prompt

Discussion in 'Programming' started by Coopzie, Feb 6, 2007.

  1. #1
    Is there a way to make a prompt using PHP, so when ppl try to access a page it will prompt either a login+password or just a password, if they get it wrong they cant access the page.
     
    Coopzie, Feb 6, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    use .htaccess to setup a username and password for your folder.
     
    ccoonen, Feb 6, 2007 IP
  3. wmtips

    wmtips Well-Known Member

    Messages:
    601
    Likes Received:
    70
    Best Answers:
    1
    Trophy Points:
    150