You could use this code if register globals is off:
$vars =& ${"HTTP_".$REQUEST_METHOD."_VARS"};
foreach($vars as $k=>$v) {
$$k =& $vars[$k];
}
This will create references, alternaticly you could just use extract:
extract(${"HTTP_".$REQUEST_METHOD."_VARS"});
The reference for this function is here, there are a few other options available:
http://www.php.net/manual/en/function.extract.php