Re: Bug #13405: Multiple File-Upload Problem

From: Date: Sun, 23 Sep 2001 15:21:57 +0000
Subject: Re: Bug #13405: Multiple File-Upload Problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-66398@lists.php.net to get a copy of this message
Hi,

i am the author of that fileupload patch that was sent through the list one
week ago and was written to defeat Critical BUG #11998.

Cause i was into the fileupload code anyway, i analysed this problem and
came to the conclusion, that this reported behaviour of missing array vars
is a browser problem and not really a bug inside php.
example: the opera browser does not behave http conform when a filename is
not set on fileupload. It removes the "filename" parameter from the
Content-Disposition header. There is no way for php to guess that this is an empty
fileupload field and not f.e. a button or so.
So its up to the php script author to catch that situation.

Yours,
Ralf


PS: Today i applied my patch to 4.0.8-dev and the "many-fileupload-crashbug"
was no longer reproduceable.

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



Thread (7 messages)

« previous php.dev (#66398) next »