Wednesday, October 27, 2010

Re: AJAX Uploader

On Wed, Oct 27, 2010 at 7:09 PM, Dave Maharaj <me@davemaharaj.com> wrote:
> Has anyone come across a simple file uploader that can return an JSON
> response?
>
> I am using Malsup uploader and it works fine, but instead of just return the
> image uploaded I need image count and other variables returned from the
> server in JSON format so I can do other things.

Are you referring to his JQuery Form plugin? That's client side. If
you want a JSON response returned to the browser, just do so in
whatever controller method is accepting the file.

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 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: