/** * Sets the value of the $_REQUEST array in PHP 4.1.0 or higher. If using a lower version, * then the content of this array will be copied into $HTTP_GET_VARS * * @param requestArray An associative array with the contents of our future $_REQUEST * array * @return Returns always true. */ function setRequest($requestArray) { if (phpversion() >= "4.1.0") { foreach ($requestArray as $key => $value) { $_REQUEST["{$key}"] = $value; } } else { HttpVars::setGet($requestArray); } return true; }