Simon,

Simply answer the question to yourself:

Zend_File_Transfer is the server component which comes in place as soon the the files have been uploaded.

MAX_FILE_SIZE is a HTTP attribut of Forms which are used to limit the transferred size of your form. If you do not set it, your users would be able to upload 10GB files without problems.
(Not taking in accout your php.ini settings of course).

So you know the answer.

It's always good to have several layers of security, even when they are weak. :-)

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message ----- From: "SiCo007" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 09, 2008 6:59 PM
Subject: [fw-general] File_Transfer Element - MAX_FILE_SIZE



A simple question, do we still need to add the hidden form field
MAX_FILE_SIZE when using the file form element, I assume we do as it's not
in my test form!

If it doesn't already is there a way that the element could do this for us
(lazy, yes!!).

-----
Simon

http://www.ajb007.co.uk/
--
View this message in context: http://www.nabble.com/File_Transfer-Element---MAX_FILE_SIZE-tp19396723p19396723.html Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to