From:             [EMAIL PROTECTED]
Operating system: Linux Slackware 7.1
PHP version:      4.1.2
PHP Bug Type:     Scripting Engine problem
Bug description:  File Upload bug when sending many of files in upload 
multipart/form-data ?

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 bug report at http://bugs.php.net/?id=15902&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15902&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15902&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15902&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15902&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15902&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15902&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15902&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15902&r=submittedtwice

Reply via email to