Found the solution! Re: [pmwiki-users] private group access question(s)

Patrick R. Michaud pmichaud at pobox.com
Sat Mar 5 10:09:19 CST 2005


On Fri, Mar 04, 2005 at 11:13:23PM -0500, Neil Herber wrote:
> 
> There are two typos in the code. It should read:
> 
>     if (@$_SERVER['REMOTE_USER'] == 'Neil'
>         || @$_SERVER['REMOTE_USER'] == 'Bob') {
>       session_start();
>       $_SESSION['authpw']['abcdef']++;
>     }
> 
> In other words, $_SERVER instead of $_SESSION. It also seems to require the 
> password as clear-text. The crypted string did not work.
> This works beautifully! Thanks!

Oops, sorry about that.  Glad you got it working.  :-)

Pm



More information about the pmwiki-users mailing list