This forum is a community forum meant for users of the plugin to collaborate and help solve issues with implementation, etc. Unfortunately, as the creator of the plugin, I do not have much time to attend to every request here as this is only a side project and I must work a full-time job to provide for my family. This is how I keep the Flash version free and the HTML5 version low cost.
UploadiFive 1.1.1 has been released which includes a small fix for added support on touch devices including iOS 6 devices.
multiple target folders
  • How do I target multiple folders for different pages that house the tool?
    I'm a noob with this stuff, so any help here would be appreciated.

    Also, if I buy the $250 version, is this identical to the $5 version but licensed for commercial use?

    Thanks!
  • You can target the folders a number of different ways. The easiest is probably to just create different uploadifive.php files for the different instances of UploadiFive and just change the destination folder in each of them. You can also just have one file that changes destinations based on some formData that you send with the upload, but you shouldn't send the actual folder location. It's best to send a number or something that corresponds to a different folder in the back end code, then do some kind of switch statement so no one can alter the path and the paths aren't exposed.

    The commercial version is the same code, just licensed for commercial use. You only need the commercial license if you'll be distributing UploadiFive as part of an application or if you'll be making money from it's use.
  • Hi Ron, thanks so much for your help. Eventually I am heading in the commercial use direction, so it is good to know that the implementation issues I have will be the same.

    I did rename the uploadifive.php and set the code to be directory specific, and that works great! You get my hero for the day award. Thanks so much.


    My script for fileSizeLimit is failing.

    $(function() {
    $('#file_upload').uploadifive({
    'auto' : false,
    'dnd' : true,
    'queueID' : 'queue',
    'uploadScript' : 'uploadifive-records.php',
    'fileSizeLimit': 0
    });
    });


    Do I state this in the index.php? or in the .js file? or both?
    I have tried setting it to accept 1GB (1048576)but that also fails as I read for the uploadify tool it has to be an integer, and setting it to '0' makes it unlimited.

    I can upload a file that's 533kb, but one that's 9MB fails. It will accept all my potential file types- image, pdf and zip files so that's not an issue.

    It seems to be the file weight that's tripping me up. Am I missing an area I need to make that change to? In the .js file it is defaulted to 0.
  • Also, this fails in all versions of IE...what am I missing?
  • For the file size issue, you might need to make some changes in the PHP ini file. Check out this thread. Also, not surprisingly, IE does not support the HTML5 File API. I believe IE 10 will have support as well as Safari 6, which will both be out this year. You can use the onFallback event function to fallback to the SWF version of Uploadify in these cases.