Bug #15902 Updated: File Upload bug when sending many of files in upload multipart/form-data ?
| From: | derick@php.net | Date: | Wed, 06 Mar 2002 16:11:48 +0000 |
| Subject: | Bug #15902 Updated: File Upload bug when sending many of files in upload multipart/form-data ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1791@lists.php.net to get a copy of this message | ||
ID: 15902
Updated by: derick@php.net
Reported By: m@brturbo.com
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Linux Slackware 7.1
PHP Version: 4.1.2
New Comment:
Hello,
the file upload code was rewritten for PHP 4.2.0, can you try a
snapshot from snaps.php.net and see if it works?
regards,
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-03-06 11:09:15] m@brturbo.com
Sorry to annoy but i sent yesterday an email to Stefan Esser, and he
told me to open a bug report about the possibility of a bug in file
upload.
I updated my php to 4.1.2 and i´m having such a strange problem with
file upload i was woundering about a bug, because i tried to look at
rfc 2616 http1.1 and 1827, file
upload rfc and i didn´t find anything about it.
I wrote a code, that i can upload in one form unlimited files, at the
beggining i´m using
ini_set("upload_max_filesize","10M");
set_time_limit(0);
since then its all ok
it works all normally when i upload less than +- 20 or 25 files but
when i try 35
for example, the variables from post, that goes before the 35 <input
type=file> tags doesn´t come...
i put a debug at the begging
foreach ($HTTP_POST_VARS as $k => $v) { echo "$k => $v<br>"; }
foreach ($HTTP_POST_FILES as $k => $v) { echo "$k ==> $v<br>"; }
when i get 10 or 15 files it returns to me
field1 => value
field2=> value
field3=> value
file1 ==> array
file2 ==> array
file3 ==> array
file4 ==> array
file5 ==> array
...... ==> array
field4 => value
field5 => value
but when i try 30 for example
it returns only
field1 => value
field2=> value
field3=> value
file1 ==> array
very strange isn´t it ?
I don´t know if there is any limitation in post data, but i thought
that if this exists it should return some warning or something, but it
seemed to me be very strange.
Sorry to annoy, or sorry if its not a bug, or limitation but im getting
mad with this :o/ thanx for the oportunity and sorry for poor english
Marcus Vinícius
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15902&edit=1