By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,259 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

php script showing in browser despite htaccess file

P: 5
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???
Jun 27 '06 #1
Share this Question
Share on Google+
1 Reply


ronverdonk
Expert 2.5K+
P: 4,258
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.ilovejackdaniels.com/apache/password-protect-a-directory-with-htaccess/

Ronald :cool:
Jul 21 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.