php script showing in browser despite htaccess file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asllearner
    New Member
    • Jun 2006
    • 5

    #1

    php script showing in browser despite htaccess file

    I have an htaccess file protected folder. In that folder I have several php files that generate some simple html. When I am logged out, cache cleared, sessions info cleared, I navigate to one of the php scripts, and the login screen shows up. so far so good.

    But now, even if i enter invalid information in the login screen, or cancel out of it, my php script seems to be running, and my information is showing up in the browser.

    what:s up with that? Shouldn't it be waiting for a successful login???
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    I guess not many people can answer your question, and it will be extremely difficult because you did not specify how you had your directory and .htaccess files set up.

    So for now I can only give you a link which might be useful inchecking your setup. It is

    http://www.ilovejackda niels.com/apache/password-protect-a-directory-with-htaccess/

    Ronald :cool:

    Comment

    Working...