@saline while you check this image... the problem i suggested will come again because we can set any extensions to atext file in linux....
On Mon, Apr 2, 2012 at 7:14 PM, Salines <nikola.parad...@gmail.com> wrote: > It is because I quoted your text.. > > ------------ > > To solve your problem, you must validate your uploads. > > <?phppublic $validate = array( > 'image' => array( > 'extension' => array( > 'rule' => array('extension', array('gif', 'jpeg', 'png', 'jpg')), > 'message' => 'Please supply a valid image.' > ) > > ), > ); > > > > Create custom validation > > > http://book.cakephp.org/2.0/en/models/data-validation.html#adding-your-own-validation-methods > > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- Litto Chacko Axtec Softwares -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php