RE: [PHP] $_FILE array being truncated

2010-03-17 Thread Ford, Mike
-Original Message- From: Kim Madsen [mailto:php@emax.dk] Sent: 16 March 2010 18:54 when the field is changed (onChange()) or out of focus (is there such a function? onUnFocus()? :-)). onBlur() (Keeping the A as short as the Q is OT!) Cheers! Mike -- Mike Ford, Electronic

[PHP] $_FILE array being truncated

2010-03-16 Thread Richard H Lee
p.general, I have a form with 75 or so file input controls: input type=file ... Usually when I submit the form, I only upload two or so files. So in the post request, it sends the two files along with the other blank 73 fields. This has been working fine on my live and test servers so far.

Re: [PHP] $_FILE array being truncated

2010-03-16 Thread Daniel Egeberg
On Tue, Mar 16, 2010 at 15:19, Richard H Lee rich...@webdezign.co.uk wrote: p.general, I have a form with 75 or so file input controls: input type=file ... Usually when I submit the form, I only upload two or so files. So in the post request, it sends the two files along with the other blank

Re: [PHP] $_FILE array being truncated

2010-03-16 Thread Ashley Sheridan
On Tue, 2010-03-16 at 18:25 +0100, Daniel Egeberg wrote: On Tue, Mar 16, 2010 at 15:19, Richard H Lee rich...@webdezign.co.uk wrote: p.general, I have a form with 75 or so file input controls: input type=file ... Usually when I submit the form, I only upload two or so files. So in the

RE: [PHP] $_FILE array being truncated

2010-03-16 Thread Richard Lee
Check out max_file_uploads which was added in PHP 5.2.12 and defaults to 20. Yes that was the problem, I set max_file_uploads higher and it works now. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_FILE array being truncated

2010-03-16 Thread Kim Madsen
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

Re: [PHP] $_FILE array being truncated

2010-03-16 Thread Rene Veerman
jumploader.com might be interesting to you.. On Tue, Mar 16, 2010 at 3:19 PM, Richard H Lee rich...@webdezign.co.uk wrote: p.general, I have a form with 75 or so file input controls: input type=file ... Usually when I submit the form, I only upload two or so files. So in the post request,

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-30 Thread Al
You nailed it Curt. Virtual Host Powweb removed the system default tmp directory without telling anyone. All file uploading services were broken. I fixed the problem in php.ini Thanks everyone. Curt Zirzow wrote: * Thus wrote Al: What is a $_FILE[user][error]= 6 I can't find Error level 6 in

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-29 Thread Christopher Fulton
which should at least show the mime type.. - Original Message - From: Al [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, December 28, 2004 2:51 PM Subject: Re: [PHP] $_FILE[user][error] = 6 ? Doesn't work on any file type. I've checked the usual suspects

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-29 Thread Greg Donald
What is a $_FILE[user][error]= 6 It appears undefined per the manual: http://www.php.net/manual/en/features.file-upload.errors.php -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-29 Thread Curt Zirzow
* Thus wrote Al: What is a $_FILE[user][error]= 6 I can't find Error level 6 in the manual or on Google. Here is my files array: [userfile] = Array ( [name] = Readme.txt [type] = [tmp_name] = [error] = 6 [size] = 0

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-29 Thread Curt Zirzow
* Thus wrote Greg Donald: What is a $_FILE[user][error]= 6 It appears undefined per the manual: http://www.php.net/manual/en/features.file-upload.errors.php It will show up shortly, the entry will be something like: UPLOAD_ERR_NO_TMP_DIR Value: 6; Missing a temporary folder.

[PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Al
What is a $_FILE[user][error]= 6 I can't find Error level 6 in the manual or on Google. Here is my files array: [userfile] = Array ( [name] = Readme.txt [type] = [tmp_name] = [error] = 6 [size] = 0 ) Doesn't make sense.

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Jason Wong
On Wednesday 29 December 2004 01:40, Al wrote: What is a $_FILE[user][error]= 6 I can't find Error level 6 in the manual or on Google. Here is my files array: [userfile] = Array ( [name] = Readme.txt [type] = [tmp_name] =

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Al
Doesn't work on any file type. I've checked the usual suspects. e.g. form enctype=multipart/form-data action=_url_ method=\post\ URL is my php file. Jason Wong wrote: On Wednesday 29 December 2004 01:40, Al wrote: What is a $_FILE[user][error]= 6 I can't find Error level 6 in the manual or on

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Sebastian
-general@lists.php.net Sent: Tuesday, December 28, 2004 2:51 PM Subject: Re: [PHP] $_FILE[user][error] = 6 ? Doesn't work on any file type. I've checked the usual suspects. e.g. form enctype=multipart/form-data action=_url_ method=\post\ URL is my php file. On Wednesday 29 December 2004 01

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Matt M.
is form enctype=multipart/form-data action=_url_ method=\post\ what comes out in the html or is it form enctype=multipart/form-data action=_url_ method=post? can you upload any files at all? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_FILE[user][error] = 6 ?

2004-12-28 Thread Al
is blank which should at least show the mime type.. - Original Message - From: Al [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, December 28, 2004 2:51 PM Subject: Re: [PHP] $_FILE[user][error] = 6 ? Doesn't work on any file type. I've checked the usual suspects. e.g. form

[PHP] $_FILE

2004-03-16 Thread Bruno Santos
Hello. I've read in a book that we can access several file properties (when uploading a file) in two ways: 1st with the array $_FILE 2nd with $HTTP_POST_FILES i've used the 1st, but my program give many erros, and when using the 2nd, everything was fine. the 1st is avaiable from PHP 4.1.0,