Updating phpbb through cpanel who are kings of leon dating

zubrag: Changed script according to Mark's suggestion.

Now it supports cookies and requires password only once. Does it need to be put in a secure catalog, maybe outside the webroot? Outside the webroot or in a secure catalog would be good.

zubrag: this means something goes to output before password_is run. Warning: Cannot modify header information - headers already sent by (output started at /......djsonnyb/jukebox/index.php:1) in www/djsonnyb/jukebox/password_on line 139 im a noob any help? I erased some of the path because of security Hi, first of all great script !!!!! Unfortunately the password-protect php seems to mess with may layout.

To avoid setting cookie add // before setcookie so resulting line will be // setcookie("verify", md5($pass)); I don't have a problem with the protection string. My problem is in the password_file that I have named I _guess_ it might be because of the die(); value which prematurely kills the rest of my php and so messes up the layout but I am not sure how to fix that.

2) Fatal error: Cannot redeclare showlogin() (previously declared in /home/bla../admin/password_protect.php:108) in /home/bla../admin/password_on line 108 The line goes like this; function show Login($error_msg) Any idea? I can add users and subscribers to my confidential webpages and not necessarily give out internal and admin login details. Now I have set up another directory as password protected and it doesn't seem to see the password_file to verify the password. When I open the password_for the first time I type the login and password and when I submit, I opens again the password_but blank this time. Lets say i have a password called chicken, another called flower and another called trasea.

Andre, seems like you are including it few times in one file. If you want to ask password only then USE_USERNAME should be set to false: define('USE_USERNAME', false); and update passwords array to what you need. However, the page doesn't give me the include address, just "Include following code into every page you would like to protect, at the very beginning (first line):". Hi Zubrag, Thanks for the simple but useful free programme that I have been looking for use. It kept on prompting me with the username and password. it works great, but does anyone know how to send message after login? pls make it password free or publish the password here if anyone of ppl r depending on it. greetings I want to set up usernames so users can see all the links/files on the page being protected but I want a guest username to only see certain links. Then I go again to the password_page to log again, but the page is also blank. The trasea one will not work, is it to do with the ? Now, I'd like to redirect users to different pages based on the username/password they provide. if ($_POST['access_password'] == "abc123") if ($_POST['access_login'] == "test" && $_POST['access_password'] == "abc123") Figured it out.

I am getting this Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/.........

Line refers to the cookies portion setcookie("verify", md5($pass)); what to do ?

Multiple user accounts support, improved security, automatic logout, and manual logout feature.But script will not reveal the password, no matter where it is placed. Now Password Protector can either ask password only or login/password pair, depending on settings.Can we modify this so that we can also include username? Hi, Your password PHP script looks good and I want to use it at Go Daddy.com, my hosting service.From the code you provided it seems like you invoked it from shell (terminal), that is why it shows a lot of things you would not see when opened in browser.In your case just add include("/home3/marilou/cc-ob-www/elder-connect/password_protect.php"); to a webpage you want to protect.

Leave a Reply