Re: $_FILE array being truncated

From: Date: Tue, 16 Mar 2010 18:53:40 +0000
Subject: Re: $_FILE array being truncated
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-302907@lists.php.net to get a copy of this message
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

« previous php.general (#302907) next »