Welcome to Abdul Malik Ikhsan's Blog

Zend Framework 2 : Create Simple Upload Form with File Validation

Posted in Tutorial PHP, Zend Framework 2 by samsonasik on August 31, 2012

Zend Framework 2 has Zend\File\Transfer component that can provide file transfer need for our application. We can add Files validator and pass error message to Zend\Form component object, that can be retrieve by view if process was failed. We can add another validator instead of Upload validator that registered by default in Http Adapter.

Continue Reading