<dave@widepixels.com> wrote:
>
> I upload an image using a component which produces this array
>
> [Image] => Array
> (
> [image] => Array
> (
> [name] => blue_self_shot_m057.jpg
> [type] => image/jpeg
> [tmp_name] => /var/tmp/phpZ0VP1f
> [error] => 0
> [size] => 183628
> )
>
> )
>
> Now I want to add validation to this but I have no Image model. How can I
> validate this?
Create an Image model?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment