Share it

Bookmark and Share

Translate

Friday, March 22, 2013

0 Zend Framework Image validation

Zend Framework Image validation using form elements

$this->photo->addValidator('Extension', false, 'jpg,png,gif,jpeg')
                ->addValidator('Size', false, '1MB')
                ->addValidator('ImageSize', array(1,1,1,1));
    

0 comments:

Post a Comment

Thanks for your valuable Comment

 

TechnoTipworld- Tips,Tricks,Technology Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates