$value) { if (($key == 'action') && ($value != requestVar('nextaction'))) $key = 'nextaction'; // a nextaction of 'showlogin' makes no sense if (($key == 'nextaction') && ($value == 'showlogin')) continue; if (($key != 'login') && ($key != 'password')) passVar($key, $value); } } /** * Return the value of $_FILES for the variable $name * * If the variable is set the function returns the value, * if it is not set it returns null (which is equal to false) * * @param $name */ function postFileInfo($name) { if (!isset($_FILES[$name])) { return; } return $_FILES[$name]; } /** * Sets the $_POST variable oldaction to the given value * * @param $value */ function setOldAction($value) { $_POST['oldaction'] = $value; } ?>