Hi,

This works fine when I created a non-cakephp based setup. However, when I
try to use it in a cake based setup, it gives me an error. After almost an
hour of debugging, I saw that the problem lies in,

        $('#file_upload').uploadify({
          'uploader'  : 'path_to_uploadifyswf/uploadify.swf',
          'script'    : 'http://dev.mydomain.com/multiupload/',
          'cancelImg' : 'pathtoimages/cancel.png',
          'folder'    : 'uploaded_files',
          'multi'       : true,

Here, when I give the script URL to be of an action of a controller, it
gives me a 302 Error. However, when I change it to
          'script'    : '
http://dev.mydomain.com/non_cake_based_setup/multiupload.php',

It works then.

Really have no idea about this behaviour. Anybody having any idea here?

regards,
Rishab



On Thu, Mar 31, 2011 at 1:19 PM, Ravi <[email protected]> wrote:

> Hi Rishab,
>
> You can use Uploadify (http://www.uploadify.com/). This is a free
> flash uploading utility for PHP.
>
> And also it is quite easy to implement your own multiple file
> uploading functionality. Do let me know if you need instructions to
> implement your own functionality.
>
> Thanks,
> Ravi Verma
>
> On Mar 31, 12:46 pm, Rishab Jain <[email protected]> wrote:
> > Hi,
> >
> > Does anybody know of a good multiple file upload in cakephp (or even php
> for
> > that matter). I'm not looking for many input tags for upload, but for an
> > interface where I can upload many files in one go.
> >
> > And it should be a freeware.
> >
> > regards,
> > Rishab
>
> --
> 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
>

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