Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Custom Parameters
  • I just discovered your script, and globally it fits my needs.

    But, i could be nice to allow us to send custom parameters to the php file with post or get method.

    For instance :

    $('#galeriesInput').fileUpload ({
    'uploader' : '/uploader.swf',
    'script' : '/uploader_galeries.php',
    'cancelImg' : '/cancel.png',
    'auto' : false,
    'multi' : true,
    'folder' : '/galeries',
    'customParams' : { 'act' : 'xxxx', 'rename' : 'xxxx', 'anotherparam', 'xxxx'},
    'customParamsMethod' : 'post'
    });


    For now, i'm actually using the last name i retrieved from the 'folder' parameter in the upload.php to do all the stuffs i need. But, really, it could be really nice to send whatever we need so that we can do anything possible after the upload :)

    Keep the good work !
  • you can, use scriptData. It will send the data as GET. the next version (v2) will have POST or GET
  • It's very very very stupidly interface! How can I make MIXED (GET+POST) query? THERE IS NO WAY!