error in file input
hi guys this error is rendered when i submit my form this error is
File 'captured_photo' exceeds the defined ini size i made a trial to change the php.ini to 10M but still has the error$uploaded_photo = $this->createElement('file', 'uploaded_photo')
->setLabel('upload image 2:')
->addFilter(new Zend_Filter_HtmlEntities())
->addFilter(new Zend_Filter_StripTags())
//->setMaxFileSize(10 * 1024 * 1024)
->addFilter("StringTrim");
//->setRequired(TRU开发者_StackOverflow社区E);
$this->addElement($uploaded_photo);
There are several configuration directives that affect file uploads. They are
- upload_max_filesize
- post_max_size (must be larger than
upload_max_filesize
)
精彩评论