> i dun get it. anythg juz going wrong. the page can validate if there is no
> image selected, also it can validate if it is not jpeg. but when i upload a
> photo it been refreshed the page. but image did not appear in folder or been
> saved in database

have you set the form type to file, eg:

echo $form->create(null, array('type'=>'file'));

j

>
> On Fri, Jul 23, 2010 at 11:37 AM, tristan_ph <[email protected]>
> wrote:
>>
>> Also, you can try http://github.com/davidpersson/media
>>
>> On Jul 22, 5:09 pm, Norsyahida Sulaiman
>> <[email protected]> wrote:
>> > I'm new in framework. to use upload photo function. what should be
>> > done on view , function on Controller and also model part. i'm
>> > freaking out
>>
>> Check out the new CakePHP Questions site http://cakeqs.org and help others
>> with their CakePHP related questions.
>>
>> You received this message because you are subscribed to the Google Groups
>> "CakePHP" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected] For more options, visit this group
>> at http://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>



-- 
jon bennett - www.jben.net - blog.jben.net

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to