Re: [PHP] $_FILE array being truncated

[email protected] (Kim Madsen)
Newsgroups php.general
Message-ID <[email protected]>
Ashley Sheridan wrote on 16/03/2010 18:28:

> I really wouldn't rely on a form that contains more than 20 file upload
> boxes though. If someone uploads some large files, they're stuck with an
> extremely long wait which will slow down your server a bit as well if a
> lot of people are using the same form at the same time.

True. Instead make the upload with AJAX, so the file starts uploading 
when the field is changed (onChange()) or out of focus (is there such a 
function? onUnFocus()? :-)). See gmail attachment for an example.

-- 
Kind regards
Kim Emax - masterminds.dk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.