Если вы действительно хотите использовать простые HTML-формы, вы должны по крайней мере рассмотреть Zend_Filter_Input для фильтрации / проверки пользовательского ввода.
$filters = array('body' => array('StringTrim' , 'StripTags'));
$validators = array('body' => 'Alpha');
if (!$this->getRequest()->isPost()) {
// display form;
return;
}
$input = new Zend_Filter_Input($filters, $validators, $this->getRequest()->getParams());
if (!$input->isValid()) {
// failed validation
$this->view->messages = $input->getMessages();
// redisplay form and show error messages
return;
}
// form is valid, values are filtered
echo $input->body