Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/02/2011, 14:58
Avatar de abimaelrc
abimaelrc
Colaborador
 
Fecha de Ingreso: mayo-2009
Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 14 años, 11 meses
Puntos: 1517
Respuesta: Zend_File_Transfer y Zend_Form::getValues()

Ohhh, entonces estaba usando dos formas diferentes y con una la podía hacer desde el comienzo, o sea usando Zend_Form. Como recomendación ¿que se sugiere usar Zend_File_Transfer o Zend_Form para subir archivos?

Edito:
Según el manual dice
Cita:
It utilizes Zend_File_Transfer internally to provide this functionality, and the FormFile view helper as also the File decorator to display the form element.
By default, it uses the Http transfer adapter, which introspects the $_FILES array and allows you to attach validators and filters. Validators and filters attached to the form element are in turn attached to the transfer adapter.
Por eso es bueno usar solo Zend_Form
__________________
Verifica antes de preguntar.
Los verdaderos amigos se hieren con la verdad, para no perderlos con la mentira. - Eugenio Maria de Hostos