Re: Identifying input type="file"
| From: | Christian Reiniger | Date: | Wed, 09 May 2001 16:40:58 +0000 |
| Subject: | Re: Identifying input type="file" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52138@lists.php.net to get a copy of this message | ||
On Wednesday 09 May 2001 15:59, Ron Dyck wrote:
> I need to identify the particular name of a file upload type field:
> <input type='file' name='image1'>
>
> The elements are generated dynamically and I don't know the specific
> name of the field beforehand and of course need to read it before
> processing the form.
>
> Using $HTTP_POST_VARS does not seem to recognize this type of input
> field. Is there another method?
>
> I do have the form as:
> <form action="file.html" method="post"
> enctype="multipart/form-data" >
> and I can catch all the other form elements without a problem.
Re-Read the chapter on file uploads in the manual.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
REALITY.SYS corrupted ... reboot Universe [Y,n]?