diff --git a/grab_globals.inc.php3 b/grab_globals.inc.php3 index 5b3ea1616..2c471fa89 100644 --- a/grab_globals.inc.php3 +++ b/grab_globals.inc.php3 @@ -15,4 +15,9 @@ if (!empty($HTTP_POST_VARS)) { while(list($name, $value) = each($HTTP_POST_VARS)) $$name = $value; } + +if (!empty($HTTP_POST_FILES)) { + while(list($name, $value) = each($HTTP_POST_FILES)) + $$name = $value['tmp_name']; +} ?> \ No newline at end of file