Re: Example code for multiple uploads? (Using PHP 4.0.6)
| From: | George Whiffen | Date: | Fri, 16 Nov 2001 16:58:56 +0000 |
| Subject: | Re: Example code for multiple uploads? (Using PHP 4.0.6) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74898@lists.php.net to get a copy of this message | ||
Nate Carlson wrote:
>
> I'm trying to create a form that supports multiple uploads (of up to 4
> files), but does not require each of them. I've tried all the code
> examples in the PHP documentation, and they don't appear to work with PHP
> 4.0.6. Basically, I get the file names returned in the arrays, but the
> array that should contain the name of the temporary file just says 'none'.
> Things work fine for a single upload.
>
> Does anyone have example code for this? Thanks! :)
>
> --
> Nate Carlson <natecars@real-time.com> | Phone : (952)943-8700
> http://www.real-time.com | Fax : (952)943-8500
Multi loads are fine for me in 4.0.3 at least, but I don't use arrays, each upload has a
different
name (I gave up on form arrays at IE 3!). Have you tried giving them unique names?
George