[pmwiki-users] blogcal

Hans design5 at softflow.co.uk
Mon Sep 22 02:52:54 CDT 2008


Monday, September 22, 2008, 7:42:16 AM, Hans wrote:

> you need pmwiki version 2.2.0 beta (not sure which minimum beta
> number).
> scripts/forms.php has this RequestArgs  function.

PS: alternatively add the function to your blogcal script,
or config.php, perhaps rename it slightly to avoid future clashes.
The function is quite small:

## RequestArgs is used to extract values from controls (typically
# in $_GET and $_POST).
unction RequestArgs($req = NULL) {
 if (is_null($req)) $req = array_merge($_GET, $_POST);
 foreach ($req as $k => $v) $req[$k] = stripmagic($req[$k]);
 return $req;



  ~Hans




More information about the pmwiki-users mailing list