Thanks Adam.
You are right, there is no way to make it work without using iFrame or 
SWFUpload.
I have chosen the first option and now it is working well.
To make it work, I used this tutorial : 
http://elmicoxcodes.blogspot.com/2007/03/asynchronous-upload-like-ajax-1.html


Adam Royle a écrit :
> My point was that Ajax doesn't let you use multipart/data. You'll need
> to either use something like swfupload or post to an iframe, etc.
>
> http://www.railsforum.com/viewtopic.php?id=11430
>
> On Apr 14, 11:29 pm, Pierre MARCOURT <[EMAIL PROTECTED]>
> wrote:
>   
>> Yes Chris, I am using CakePHP 1.1.19.6305 so it does not work...
>> Thank you for the link Adam but it is not the solution I was looking
>> for. I don't want that the user has to change a setting in his browser.
>> It is not going to be easy to use... I am using Ajax to have a tool
>> "user friendly", so I don't want to ask for changing setting in the
>> browser...
>> So I don't know yet how to make it work, if someone has another idea ?
>> Thanks.
>>
>> Chris Hartjes a écrit :
>>
>>     
>>> On Fri, Apr 11, 2008 at 4:40 PM, Pierre MARCOURT
>>> <[EMAIL PROTECTED]> wrote:
>>>       
>>>>  Thanks Chris,
>>>>         
>>>>  but when I try to use the create method, I have the Fatal error :
>>>>  Call to undefined method FormHelper::create()
>>>>         
>>> That link was for CakePHP 1.2.
>>>       
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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