PHP Authentication (centos)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DevInCode
    New Member
    • Apr 2008
    • 55

    PHP Authentication (centos)

    Hi,

    I'm trying to authenticate with php, which seems to work, but when it redirects it still pops up and asks for the information again. I was hoping to have it entered via form instead of pop-up.

    Its probably something simple, there is a sample of the script I am using in this thread.

  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Do you have a question you'd like to ask? From what you posted, I do not find a question.

    - mark.

    Comment

    • DevInCode
      New Member
      • Apr 2008
      • 55

      #3
      The user enters information that is correct through the form. So why does it ask again via pop-up? How do I prevent the pop-up?

      Comment

      • Markus
        Recognized Expert Expert
        • Jun 2007
        • 6092

        #4
        Originally posted by DevInCode
        The user enters information that is correct through the form. So why does it ask again via pop-up? How do I prevent the pop-up?
        With the little amount of information you have given, I'd hazard a guess and say: you still have the .htaccess file. You either need to delete the file, or edit it to remove the authentication.

        Comment

        • DevInCode
          New Member
          • Apr 2008
          • 55

          #5
          Ok, let me start from the beginning. I really appreciate your help.

          The way the site is configured now, the user access a certain part of the webpage, and they get a pop-up prompting them for user/pw. I really don't like popups so I want to get rid of it. My solution is to have them login via form. The code I am using work and forwards them to the appropriate page, but when they are forwarded the popup still comes up. But they have already entered their authentication information.

          Which file are you suggesting I edit? The protected file?

          Comment

          • Markus
            Recognized Expert Expert
            • Jun 2007
            • 6092

            #6
            The thing is, I have no idea what this 'pop up' is - it sounds like it is being done (the authetication) via a .htaccess file. If this is the case, you can just open the .htaccess file (it may be a hidden file, so un-hide it ;), and edit the authentication part of it. Otherwise, you'll have to figure out what is causing this pop up, because, without access to your server, all I (we) can do is guess.

            - mark

            Comment

            Working...