Hi. I tried your script (very nice!) and it basically works, but I have two questions:
(1) I put password_protect.php above my html doc root, so there is no way of running the ?help URL to get the string that is supposed to be provided, right? But is is needed? Does the string include anything other than a line like this to place in the first line of the file I want to protect?
<?php include("/home/mypath/password_protect.php"); ?><html>
(2) Clicking on the logout link redirects to the "redirect after logout" URL, but I am actually still logged in. That is, if I go to the password protected page without manually clearing out my cookies I do not need to login again. Is this a browser dependent problem (I'm using Safari) or a bug in the logout feature itself?
Thanks!
doug