function array_filter_rekey($vars, $defaults, $transforms = array())
{
    if (empty($transforms)) {
        return get_fields($vars, $defaults);
    }
    $defaults = array_combine(array_flip($defaults), $defaults);
    $key_name_mapping = get_fields(array_merge($defaults, $transform), $defaults);
    return array_combine(array_keys($key_name_mapping), get_fields_ordered_numeric($vars, $key_name_mapping));
}
function execute_action($action)
{
    $myaction = actions($action);
    if (is_array($myaction)) {
        extract($myaction);
        return call_user_func_array($callback, get_fields_ordered_numeric($_REQUEST, $c_vars));
    }
    return FALSE;
}