I am trying to push content to my cakePHP site from an iphone app
using json. I've been successful when pushing text (like adding a new
user) but I an trying to push text and an image.  The problem I am
having is I don't know how to include an enctype of “multipart/form-
data” within the controller and call out the $_POST['photo'] to ensure
that cake knows its an image.  Since there is nothing in my view there
is no way for me to set it there.

Any thoughts?  Has anyone done this before?

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to