[pmwiki-users] How to password protect read/write access to everything in a category?

Peter Bowers pbowers at pobox.com
Sun Jul 15 11:50:45 CDT 2012


On Sun, Jul 15, 2012 at 5:43 AM, tamouse mailing lists
<tamouse.lists at gmail.com> wrote:
> You're doing something here I don't quite get. The action is going to be
> done by formscript.php, yet ...
> (See below)
>> ===(snip)===
>> # Rough (!!) pseudo-code for handling the form
>> if (@$_GET['setpw']) {
>
> Here, you calling PmWiki routines?
>
> How do you do that?

You're right.  I started with it all in config.php and then thought I
would simplify the example by separating it into its own script, but
that just complicates things because then you don't have access to
pmwiki routines.

A custom action is probably the better approach.

-Peter



More information about the pmwiki-users mailing list