ID:               15902
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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

Reply via email to