note 18558 added to features.file-upload
| From: | oyoryel at hotmail dot com | Date: | Mon, 28 Jan 2002 02:22:56 +0000 |
| Subject: | note 18558 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25886@lists.php.net to get a copy of this message | ||
I found that if the file upload name is an array, like userfile[3], then the information about the
file is stored in the variables:
$HTTP_POST_FILES[userfile][name][3]
$HTTP_POST_FILES[userfile][size][3]
$HTTP_POST_FILES[userfile][type][3]
and not in
$HTTP_POST_FILES[userfile][3][name],etc
as I expected.
$userfile[3]_name or ${userfile[3]_name} causes a parse error.
--
http://www.php.net/manual/en/features.file-upload.php
http://master.php.net/manage/user-notes.php?action=edit+18558
http://master.php.net/manage/user-notes.php?action=delete+18558
http://master.php.net/manage/user-notes.php?action=reject+18558