I need to know whether to get variables from $HTTP_GET_VARS or $HTTP_POST_VARS. Anything better than:
if (sizeof($HTTP_GET_VARS) > 0)
$formvars = $HTTP_GET_VARS;
} elseif (sizeof($HTTP_POST_VARS) > 0) {
$formvars = $HTTP_POST_VARS;
}
... or ...
$formvars = array_merge_recursive($HTTP_GET_VARS, $HTTP_POST_VARS);
...?
There's also register globals but I don't want to use that.