Re: [PHP4BETA] Multiple File Uploads
| From: | Zeev Suraski | Date: | Fri, 03 Mar 2000 12:27:03 +0000 |
| Subject: | Re: [PHP4BETA] Multiple File Uploads | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11450@lists.php.net to get a copy of this message | ||
There is currently no support for arrays in file upload names. You would
have to use two different distinct names.
Zeev
On Fri, 3 Mar 2000, Vadim Tkachenko wrote:
> I have simple form
>
> <FORM ENCTYPE = "MULTIPART/FORM-DATA" ACTION = "<?=$PHP_SELF ?>"
> METHOD =
> POST NAME = EditAccount>
> <INPUT TYPE = FILE NAME = xlfile[]>
> <INPUT TYPE = FILE NAME = xlfile[]>
> </FORM>
>
> After submit:
>
> HTTP_POST_FILES["xlfile"]=
> Array
> (
> [0] => Array
> (
> [name] => prods.xls
> )
>
> [1] => Array
> (
> [type] => application/vnd.ms-excel
> )
>
> [size] => 1394
> [2] => Array
> (
> [name] => hp.jpg
> )
>
> [3] => Array
> (
> [type] => image/pjpeg
> )
>
> )
>
> How get binary data for each file and how get size for each file???
>
>
>
>
>
>
--
Zeev Suraski <zeev@zend.com>
http://www.zend.com/