Charles, thank you for the great effort!
But is there no other option than move the validation into the controller 
instead of doing it in the model?

The code I wrote only contains one single if/else and is very clear to me. 
Okay, it's not working so I'm not getting anywhere for the moment huh ;)

Can you confirm that extension rule in CakePHP is validation the ['type'] 
variable in the FILES array? If "yes", I realy don't understand why I keep 
getting validation errors on the validExtension rule :s

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to