Hy Marko,
Please give us some example code.
Normally I would say, that you forgot to validate the form, or the specified
directory does not exist.
Files are transferred (copied) AFTER the validation was successfull.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
----- Original Message -----
From: "Marko Korhonen" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, August 16, 2008 9:41 AM
Subject: [fw-general] Zend_Form_Element_File with new Zend_File + ini config
Hi,
I have my form defined in onw ini file.
I added following lines to use the new Zend_File component:
form.enctype = "multipart/form-data"
and:
form.elements.picture.type = "file"
form.elements.picture.options.required = false
form.elements.picture.options.destination = "/path/to/my/userspics"
form.elements.picture.options.label = "Picture:"
database seems to get the correct path to the correct file, but file does
not appear to the
folder I have defined.
Any clue what I'm doing wrong?
I didn't find any examples using ini file, so I just tried this.
br, Marko
--
View this message in context:
http://www.nabble.com/Zend_Form_Element_File-with-new-Zend_File-%2B-ini-config-tp19009432p19009432.html
Sent from the Zend Framework mailing list archive at Nabble.com.