Re: file uploads
| From: | Serge Fonville | Date: | Tue, 30 Jun 2020 23:01:22 +0000 |
| Subject: | Re: file uploads | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327219@lists.php.net to get a copy of this message | ||
Hi,
Can a single form element contain more than one file input?
>
Does https://www.php.net/manual/en/features.file-upload.multiple.php
answer
your question?
Kind regards/met vriendelijke groet,
Serge Fonville
http://www.sergefonville.nl
Op wo 1 jul. 2020 om 00:46 schreef Jeffry Killen <jekillen@prodigy.net>:
> Hello;
>
> I have written php scripts to manage file uploads from
> HTML forms. But a question came up for me regarding
> file input type and forms.
>
> The question is: can a single form element contain more
> than one file input?
>
> The $_POST['file'] variable suggests not.
> Also if there is a file size limiting hidden field, it could only
> apply to one file input because of the hidden field name
> The hidden field name can't be different to associated with
> a specific file input... Unless, because the input field would
> have to be named scripts processing it could expect a limiting
> hidden field associated with it??
>
> I have been going back through my manuals and materials
> and doing some searching on the net. But haven't seen any
> thing that addresses or answers this question.
>
> Does anyone have thoughts and suggestions on this?
>
> Thank you for time and attention;
> JK
>