[PHP] Example code for multiple uploads? (Using PHP 4.0.6)
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 <[EMAIL PROTECTED]> | Phone : (952)943-8700 http://www.real-time.com| Fax : (952)943-8500 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: Example code for multiple uploads? (Using PHP 4.0.6)
On Fri, 16 Nov 2001, George Whiffen wrote: > 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? I was hoping to avoid that. :) I'll give it a shot, though. Thanks! -- Nate Carlson <[EMAIL PROTECTED]> | Phone : (952)943-8700 http://www.real-time.com| Fax : (952)943-8500 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]