From d91a01be7da5d878940e5dea9aff0c5269dde7da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 5 May 2001 20:38:13 +0000 Subject: [PATCH] Handles now the $HTTP_POST_FILES array --- grab_globals.inc.php3 | 5 +++++ 1 file changed, 5 insertions(+) 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