I am trying to upload a file using Zend Framework 1.7.4, but have not been successful. I have read Akrabat\'s tutorial, which was helpful but when i used those techniques in
Don't forget to set the enctype attribute of the form to "multipart/form-data". If you are using Zend_Form, call
$form->setAttrib('enctype', 'multipart/form-data');
Also note that Zend_Form::setDestination is deprecated, use the rename filter for that:
// Deprecated:
// $upload->setDestination('/tmp');
// New method:
$upload->addFilter('Rename', '/tmp');