[pmwiki-users] Spam on wiki

H. Fox haganfox at users.sourceforge.net
Wed Jan 25 21:43:32 CST 2006


On 1/25/06, H. Fox <haganfox at users.sourceforge.net> wrote:
> On 1/25/06, DaveG <pmwiki at solidgone.com> wrote:
> > Yeah, pretty daft. Haven't slept for a few days, so I missed it. ;)
> >
> > In the meantime, unless there's a built in way, I';; activate a logging
> > Cookbook to track IPs.
>
> I think this is what you want:
>
>    http://www.pmwiki.org/wiki?n=Cookbook.Blocklist2
>
> It looks like it needs a bit of updating, e.g. look for
>
> $EnablePost = 0; unset($_POST['post']); unset($_POST['postattr']);
>
> and change it to
>
> $EnablePost = 0; unset(@$_POST['post']); unset($_POST['postattr']);
> unset(@$_POST['postedit']);

Make that

$EnablePost = 0; unset($_POST['post']); unset($_POST['postattr']);
unset($_POST['postedit']);

Hagan




More information about the pmwiki-users mailing list