There is only one problem:
The file element in Http does not define a value.
And the component will be changed to reflect this. A related issue was already attached.

But I have already told you this in your issue.

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

----- Original Message ----- From: "gerardroche" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 09, 2008 10:05 AM
Subject: [fw-general] Zend_Form_Element_File value



If a file is submitted via Zend_Form_Element_File it returns the files
location,

i.e. $location = $form->foo->getValue();

but if no file is submitted it returns the the destination directory, i.e.
if by default, the system temp directory.

Is this expected behavior? Wouldn't it be better to have it return null if
no file was uploaded?

--
View this message in context: http://www.nabble.com/Zend_Form_Element_File-value-tp19386018p19386018.html Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to