[pmwiki-devel] UpdatePage and HandleEdit
design5 at softflow.co.uk
Tue Dec 12 05:03:18 CST 2006
Tuesday, December 12, 2006, 10:54:08 AM, Dominique wrote:
> Have you "cleaned" POST parameters before calling HandleEdit?
Not sure what you mean by "cleaned".
> $EnablePost &= preg_grep('/^post/', array_keys(@$_POST));
The line above I don't understand at all.
> UpdatePage($pagename, $page, $new);
obviously UpdatePage is saving the page, including new content via
$_POST['text'] = $text;
More information about the pmwiki-devel