RE: [PHP] Re: HTTP_POST_VARS not a multi-dimensional array?
| From: | MR | Date: | Mon, 18 Dec 2000 10:24:46 +0000 |
| Subject: | RE: [PHP] Re: HTTP_POST_VARS not a multi-dimensional array? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30859@lists.php.net to get a copy of this message | ||
Caleb Shay ...
> I thought that what you would be looking for is
> $HTTP_POST_FILES['userfile_name'] and $HTTP_POST_FILES['userfile_type']
In one of my pages , i managed to write a *dirty* code that "translated" something like
$HTTP_POST_FILES['userfile-name'] and $HTTP_POST_FILES['userfile-type']
into something like
$HTTP_POST_FILES['userfile']['name'] and
$HTTP_POST_FILES['userfile']['type']
It can be done, i have proof of it. Not amazing, not pretty code, but can be done.