Sorry... I can't deal with all the SPAM so until I can find a better solution for the forums, I'm locking them down. For now please use awesome services like stackoverflow.com for community support. Thanks.
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.
Uploadify 3 with new features, corrections, Documentation and Full DEMO
  • Uploadify v3.0.0
    Copyright (c) 2010 Ronnie Garcia

    All credits goes to Ronnie Garcia, I only made a few adjustments to get it going...

    I made a few adjustments, added some things, added multi language support, documentation, etc, it´s all listed.
    If it helps, Ronnie can make any use of this files and of documentation :)
    I´m current using this in all my client´s sites, it´s working 100%, but if by any chance anyone find anything wrong, I´m glad to help if I can...
    bccsergio

    THIS PACKAGE INCLUDES A FULL EXAMPLE (Updated September 4th, 2011)
    DOWNLOAD: http://www.multiupload.com/ZJO3NQCMG7 (74.11 KB)
    DEMO: http://uploadify.wdwebdesign.com.br/
    -> In this demo, fields values will be sent to uploadify.php and you can work with them there. Also, every selected image will generate an automatic "Title for image" field (this will be sent to uploadify.php too), and the file name will be stored in a hidden field, so file name and optional title for image will be submitted with your form so you can store this values in your database. Take a look in the source code to see how it works.

    //////////// CHANGES ////////////

    September 4th, 2011
    added folder option (optional, if not set, folder must be defined in uploadify.php, default '/uploads' from uploadify.php)
    added createFolder option (optional, if set to true will create upload dir, in case it doesn't exists, default false)

    September 1st, 2011
    added onQueueRemove event - fired when you remove any file from queue.
    added automatic back-end file type validation (only if you define fileTypeExts in your options, so you'll never have to worry about that anymore)
    added a better functionality for checkExisting var (if you define checkExisting, then your file will be uploaded and overwrite any existing file if user wants so, if you don't define checkExisting, then your file will be uploaded but will never overwrite other existing file, it will rename itself and both files will be in your uploads dir)
    changed from ereg_replace (deprecated in php 5.3) to preg_replace in uploadify (preg_replace is used to remove invalid characters from file names)

    August 28th, 2011
    Removed com dir
    Corrected uploadify-check-exists.php call
    Implemented Flash Player detection

    Included Languages:
    -> Brazilian Portuguese by bccsergio
    -> English by Ronnie Garcia
    -> Hungarian L18N by Tamás Vincze

    uploadify.css
    -> changed to use custom png files as button background
    -> a few corrections so you can use uploadify in a container with align:center and not mess with queue display
    -> you MUST edit uploadify.css so you can set your directories to button files

    jquery.uploadify.js
    -> all options, events and methods documented in _help.txt file
    -> a few corrections so you can use uploadify in a container with align:center and not mess with queue display
    -> options and events corrected to suit v 3.0.0
    -> added option to display both percentage and speed during file upload
    -> changes in this file to allow use of language file
    -> 'langFile' added in required options, default is 'uploadifyLang_en.js'
    -> changes in uploadifyCancel to adjust auto-field option
    -> added a method to load langFile On the fly, so you can set your language file in uploadify options
    -> corrected error that was causing multi uploads to upload only first file (onUploadComplete)
    -> corrected error that was firing onQueueComplete before onUploadComplete on last upload (onUploadComplete)
    -> corrected error return of onQueueComplete in onUploadComplete function
    -> corrected any errors that i found and can´t remember right now

    uploadify.php
    -> added rotines to prevent invalid characters in file names
    -> if you don´t want to override a file, but still want the file to be uploaded, added a routine to rename the file on the fly (it adds a sufix in file name)


    //////////// DOCUMENTATION ////////////
    -> Documentation in _help.txt, text was too big to the post.

    Well, thats it, hope it helps anyone... now it´s easier to set up Uploadify 3.0.0.
  • Hi bccsergio

    Thanks for the updated script!

    I have installed it, but I am still having the same problem as on the original, perhaps you can help.

    I am opening uploadify in a colorbox popup, the browse button works fine, and the list of files display fine, however, the upload button does nothing. Also, when cancelling the files from the queue, they do fade out, but they don't actually cancel, as when I try to add the same files again, it says they are already added.

    It all works fine outside of the modal colorbox popup, can you advise how I might be able to get this working as you seem quite the expert! :) I think it's down to having to perform the actions on the parent or something?

    I have been trying to resolve the issue for hours, searching all over the internet, and it's driving me a little crazy now, so any help would be appreciated.

    Thanks
    Matt
  • I never used colorbox... to do this I usually go with Floatbox... (http://randomous.com/floatbox/home) (well, I know that it´s a paid script, and you won´t find the latest floatbox version nulled to download... all I can say is that it´s not hard to null this script, but no one should do it because it´s illegal...)
    Are you loading your uploadify in an iframe in colorbox? or it displays an invisible div? If you're not using an iframe, have you ever considered that? using uploadify in an independent php file with an iframe shold be a good way to go in colorbox (or any popup display like colorbox)...

    []'s
  • So ive tried to upgrade from the original release to this one, and thus far its not working very well.

    Ive loaded jquery.uploadigy.js properly aswell as the CSS file.

    This is my script:

    <script type="text/javascript">
    $(document).ready(function() {
    $("#gallery").uploadify({
    // Required Settings
    id : jQuery(this).attr('id'),
    langFile : 'http://www.static-xxx.nu/uploader/uploadifyLang_en.js',
    swf : 'http://www.static-xxx.nu/uploader/uploadify.swf',
    uploader : '/uploadify/galleri.php',

    // Options
    auto : false,
    buttonCursor : 'pointer',
    buttonText : 'Välj Filer', // if not set in main page, will be loaded later via settings.langFile
    cancelImage : 'http://www.static-xxx.nu/uploadify-cancel.png',
    checkExisting : '/uploader/uploadify-check-existing.php',
    debug : true,
    fileObjName : 'file',
    fileSizeLimit : 0,
    fileTypeDesc : 'Bild JPG', // if not set in main page, will be loaded later via settings.langFile
    fileTypeExts : '*.jpg',
    height : 30,
    method : 'post',
    multi : true,
    queueID : 'fileQueue',
    queueSizeLimit : 999,
    removeCompleted : true,
    removeTimeout : 3,
    requeueErrors : true,
    postData : {},
    preventCaching : true,
    progressData : 'all', // 'percentage', 'speed' or 'all'
    successTimeout : 30,
    transparent : true,
    uploadLimit : 999,
    width : 120
    });


    Problem is the button image is not loading, but the button itself works.
    from CSS:
    background: transparent url('http://www.static-xxx.nu/uploader/botao_150x30.png') no-repeat center top;

    background: transparent url('http://www.static-xxx.nu/uploader/botao_150x30_over.png') no-repeat center top;

    So it is linked properly.

    Also, the fileQueue is not working.
    <div id="fileQueue"></div>

    Using debug, selecing files works, but not the submit button:
    <div class="buttons" style="margin-top:10px; height:25px;"><button type="button" name="submit" id="submit" onclick="javascript:$('#gallery').uploadifySettings('postData', {'caption' : $('#caption').val(),'color' : $('#color').val(),'mapp' : $('#mapp').val(),'userID' : $('#userID').val(),'userName' : $('#userName').val()}); jQuery('#gallery').uploadifyUpload();"><img src="<?=$static?>/img/arrow_up.png" alt="" />Ladda Upp</button></div>


    Thanks for any help with this!
  • Well, I just grabbed your code and made an example for testing and it´s working quite well... fileQueue div is working perfectly and submit button is working just fine...

    PS. you shouldn't set fileObjName in your options, by doing so, you'll have to change $_FILES vars in uploadify.php, i suggest you to just leave fileObjName off your options.

    DEMO AND DEMO SOURCE IN FIRST POST

    As I don't have your full scenario it´s hard to say what´s wrong... but as you can see in my example (and in the example's source) things are working just fine in uploadify...

    hope this example can help you...
  • Thank you! I will look further into it! :)

    Update: The problem was due to i had linked the SWF to my static domain :)
  • I'm having an issue and I can't figure out why. The form appears to work fine, it shows the percentage, file name and size, and the debug shows "Upload cycle complete" but it doesn't upload the file to the directory. I checked and uploadify.php doesn't seem to be retrieving the file name ($_FILES['Filedata']['name']). Any ideas?
  • @javiercenteno
    probably you are setting fileObjName in your options, aren't you? if you are, then remove this from your options, cause if you set a fileObjName, you'll need to change things in uploadify.php, and there's no need to do that... just leave fileObjName alone and default setting for this will do the work...

    to see what you can define in your options, just download the package in first post and take a look in _help.txt file.

    if that's not your problem, then you'll need to provide more details from your code...
  • @bccsergio, Yes, that was it! Thank you for your fast response.. and for the enhancements to the script!!
  • I'm new to uploadify, and I have to admit it some work to get it going - but it was worth the short learning curve! Big ups to everyone putting in work here... Anyways, I'd like to contribute a few thoughts.
    -First I couldn't get it working quickly with the php upload example script... Why not throw in a simple sample for Coldfusion (one line of code!) and ASP?
    -The background png was giving me problems as well like with @Detrol. A way easier solution is to use CSS3 which I'm sure was already thought about. i.e. http://css-tricks.com/examples/ButtonMaker/ But, I don't know, why bother with Web 1.0 techniques at this point...
    -I still can't get onUploadComplete to work at all. I just have a simple alert('hello') in there and it blanks me. onQueueComplete works fine for me but I need that file var array. Any ideas? Is there a setting I am missing?
    -Maybe this is a stupid question, but why does it seem there are two swfobjects? Meaning... There was no swfobject.js in the downloaded uploadify folder, but then it's called for in the demo index.php, but then the object is included in jquery.uploadify.js? What gives?
  • @djmalachi
    1 -> can't help you here, I don't use coldfusion, and I don't use ASP, mainly because ASP needs a MS server and I really love my Linux server.

    2 -> CSS3 is great, I love to use it, but lot's of people still uses IE8 (open your link in IE8 and you won't see gradient or rounded corners), and a coder can't just ignore them, and I just wanted a rounded corner button, so I had to use the PNG... I know there are JS ways of emulating CSS3 in older versions of IE, but I don't like them, none of them is perfect... but it's just my way to go, my example... nothing holds you from open uploadify.css and edit it to suit your needs...

    3 -> As I can't see your code, I can't tell you what's wrong, but here is an example firing onUploadSuccess, onUploadComplete and onQueueComplete (you will see a test alert) -> http://uploadify.wdwebdesign.com.br/index2.php
    If I where you I'd go with onUploadSuccess instead of onUploadComplete, cause onUploadSuccess gives you the echo answer from uploadify.php.

    4 -> The call for swfobject.js was there cause I started to write from v2, and I just forgot to remove this line when upgraded to v3, there is no swfobject.js file, so it's just a mistake... august 10th I uploaded a new version with swfobject.js call removed, if you download from the link in first post, you'll see that...

    []'s
  • Thanks for your response. Didn't even try onUploadSuccess but I'm guessing I'd still need to put more work into my Coldfusion script which I will post later!
  • Hi thank you for your work. Should this demo function "out of the box" when i try to run the demo as is, the index.php file can't find any of the support files. It only sees them if i take out the first "/" in each of the paths. But even then the file does not work they way it does at http://uploadify.wdwebdesign.com.br/.

    Can anyone tell me what i'm doing wrong?
  • When i upload the code as is to my server, i get errors.

    http://bigen-usa.com/contest2011/uploadifya/
  • All your paths shoud be relative to root, so it'll only work out of the box if you upload all the files to your www (public_html) root...

    in your case, for example, you should change things like this:
    in index.php, replace every
    /jquery.1.6.2 with -> /contest2011/uploadifya/jquery.1.6.2
    /jquery.uploadify-v3.0.0 with -> /contest2011/uploadifya/jquery.uploadify-v3.0.0

    in uploadify.php replace every
    /uploads with -> /contest2011/uploadifya/uploads (don't forget to chmod this uploads dir)

    in uploadify.css replace every
    /jquery.uploadify-v3.0.0 with -> /contest2011/uploadifya/jquery.uploadify-v3.0.0

    and things will work...
  • Thank you for your response. Based on your feedback, I put the files on the root level of the directory where this site will be when it goes live. (It won't end up being in that contest2011 subdirectory when its ready to go... that's just a testing place.)

    www.bigenbarber.com

    That helped some as but still the upload photo button does not work. At first I thought maybe that was because I changed the name of the file from index (I will have to do that eventually), but even named index.php I can't make the button work... Any thoughts?

    Thanks again for your help!
    Matthew
  • Actually i've got it working. I must have messed with the code somewhere, because uploading a clean copy of everything in the package is now uploading successfully! Thanks a ton!
  • How its working in v3.0 the graceful degration to support non flash browsers?
    I tried with FF and Opera with flash plugin disabled. It changes the input object and applies the CSS but nothing else happens.
    I tried also the bccSergio demo implementation with the same results. Its a swfupload problem?
    I see you have plans for HTML5 support, but can you make it work meanwhile to support by parameters a replaceable form imput box?
    Thank you. Keep up!
  • @RicardoM
    You can detect if Flash Player is installed and if it's version 9 or higher easily with Flash Detect library (http://www.featureblend.com/javascript-flash-detection-library.html)
    I re-uploaded a new version with Flash Detection (you can re-download from first post and take a look).
    I haven't implemented the replaceable input box, but that's really easy, you can just leave a hidden simple upload input and if Flash isn't there you make it visible, in my example it'll just tell the user that he needs Flash Player (you can test in my demo page).
    Hope it helps you.
  • Deleted because I realized it was pointless and futile.
  • Seriously, why are you even foisting this crap on people? The only reason I even bothered trying it was because I wanted to replace my current Flash upload engine... and surprise surprise, Uploadify relies on the Flash upload engine. I wasted two hours with this garbage, only to discover that it's nothing but a half-assed version of what I already have.

  • Hi,

    Could change the fla file to send the file name encrypted?
    That's because when you have accent in the file name, the server does not recognize.

    I added these lines in uploadify.fla 2.1.4:
    variables.filenameencoded = escape (file.name);
    scriptURL.data = variables;
    file.upload (scriptURL, param.fileDataName);

    Thanks mate
    Allan Clempe
  • Hi there i tried uploadify recently but it wont work at all with flash new version i.e., 10.3.183.50 Date Released: August 9th 2011, it actually keep loading in chrome / firefox and on internet explorer it shows the browse file attribute.... Please advice so that it should work with new version of flash also..... thanks
  • @clempeclempe: if your problem is with accent in the file name, then my changes should work for you, just download the package in the first post of this topic... in uploadify.php I added some code to prevent invalid file names:
    $file = $_FILES['Filedata']['name'];
    $file = utf8_decode($file);
    $file = ereg_replace("[^a-zA-Z0-9_.-\[\]()]", "", strtr($file, "()áàâãäéèêëíìîïóòôõöúùûüçÁÀÂÃÄÉÈÊËÍÌÎÏÓÒÔÕÖÚÙÛÜÇ% ", "[]aaaaaeeeeiiiiooooouuuucAAAAAEEEEIIIIOOOOOUUUUC__"));
    $file = strtolower($file);
    just tested and it works just fine, if you upload a file with accent in file name (or other invalid characters), it'll rename the file in uploadify.php to prevent errors...

    @harshalone: I guess that something is wrong in your machine... or your code... I was using Flash Player 10.3.181.26 and after I read your topic, updated to 10.3.183.50 and tested... things are OK here... tested with 10.3.183.50 on firefox, IE8, IE9 and chrome... sorry not to be able to help you...
  • Thnx a lot for making the newest uploadify working!

    I was able to get it working myself. But not with as many options as you managed to do.

    I've a question, why is there a "com" directory? This wasn't there before. Are the files in this folder used to check for the flash player? Is it possible to delete this folder?

    Great work dude!
  • I have made some test and it seems that when I put auto on true.
    The other data in the form are not post to the php uploader script.
    Can someone confirm?
  • BTW to avoid this situation you can put auto on false and add doFormSubmit() in the onSelect

    onSelect : function(file,data,response) {
    doFormSubmit();
    },
  • I have made some test and it seems that when I put auto on true.
    The other data in the form are not post to the php uploader script.
    Can someone confirm?

    yeah, ofcourse, this is obvious, the form data is submitted when clicked on the submit button:
    function doFormSubmit() {
    // GRAB FIELDS VALUES AND SEND TO uploadify.php, YOU CAN DO WHATEVER YOU WANT WITH THEM IN uploadify.php FILE
    $('#gallery').uploadifySettings('postData', {'field1':$('#field1').val(),'field2':$('#field2').val(),'field3':$('#field3').val(),'field4':$('#field4').val(),'field5':$('#field5').val()});

    // UPLOAD IMAGES
    $('#gallery').uploadifyUpload();
    }


    I don't have much experience using javascript/jquery. So I don't know how to solve this the best way. I have editted the onUploadStart function, and added this:
    jQuery.extend(swfuploadify.settings.postData, {filename: file.name}, {"folder":$("[name=folder]").val(), "newFileName":$("[name=newFileName]").val()});
    swfuploadify.setPostParams(swfuploadify.settings.postData);


    And I've made an other modification:
    From:
    data : {filename: file.name}
    to:
    data : swfuploadify.settings.postData

    So the postData is submitted to both php pages. The upload and file check page.

    Does someone have a better solution?
  • BTW: The path to checkExisting in the demo is wrong, it has to be uploadify-check-exists.php instead of uploadify-check-existing.php
  • Does anyone know how to increase the file size limit within a .net application? Anything over 5MB on my GoDaddy shared hosting account doesn't get posted... that's dookie!
  • I have the following settings made, but I'm still limited to somewhere between 5-10MB.

    <system.webServer>
    <security>
    <requestFiltering>
    <requestLimits maxAllowedContentLength="1000000000"/>
    </requestFiltering>
    </security>
    </system.webServer>

    Also, and more related to uploadify - why would uploadify tell me the upload was successful if the file wasn't posted to the uploads folder?
  • Sorry - <httpRuntime maxRequestLength="2097151" executionTimeout="3600" /> in system.web now allows me to upload up to 2GB in IIS7
  • @bccsergio please add Hungarian L18N of mine to your download, maybe Ronnie will put in his too :)


    // this file must be in UTF-8 format
    // L18N by Tamás Vincze

    var uploadifyLang = new Array();

    uploadifyLang['buttonText'] = 'FÁJLOK KIVÁLASZTÁSA';
    uploadifyLang['fileTypeDesc'] = 'Minden fájl (*.*)';
    uploadifyLang['replaceMsg1'] = 'A';
    uploadifyLang['replaceMsg2'] = 'nevű fájl már a feltöltési listában van';
    uploadifyLang['replaceMsg3'] = 'Lecseréli a listában levő fájlt?';
    uploadifyLang['existsMsg1'] = 'A';
    uploadifyLang['existsMsg2'] = 'nevű fájl már a szerveren van';
    uploadifyLang['existsMsg3'] = 'Felülírja a szerveren levő fájlt?';
    uploadifyLang['errorMsg1'] = 'Néhány fájl nem került bele a feltöltési listába:';
    uploadifyLang['errorMsg2'] = 'A kijelölt fájlok száma nagyobb, mint az összes rendelkezésre álló feltöltési korlát';
    uploadifyLang['errorMsg3'] = 'A kijelölt fájlok mérete nagyobb, mint az összes rendelkezésre álló feltöltési méret';
    uploadifyLang['errorMsg4'] = 'A';
    uploadifyLang['errorMsg5'] = 'nevű fájl mérete nagyobb, mint a maximális fájl méret';
    uploadifyLang['errorMsg6'] = 'nevű fájl üres';
    uploadifyLang['errorMsg7'] = 'nevű fájl nem engedélyzett típusú';
    uploadifyLang['errorString1'] = 'Hiba';
    uploadifyLang['errorString2'] = 'HTTP hiba';
    uploadifyLang['errorString3'] = 'Hiányzó feltültési URL';
    uploadifyLang['errorString4'] = 'IO Hiba';
    uploadifyLang['errorString5'] = 'Biztonsági hiba';
    uploadifyLang['errorString6'] = 'Meghaladta a feltöltési korlátot';
    uploadifyLang['errorString7'] = 'Meghaladja a feltöltési korlátot';
    uploadifyLang['errorString8'] = 'Sikertelen';
    uploadifyLang['errorString9'] = 'Ismeretlen fájl azonosító';
    uploadifyLang['errorString10'] = 'Ellenörzési hiba';
    uploadifyLang['errorString11'] = 'Visszavonva';
    uploadifyLang['errorString12'] = 'Megállítva';
    uploadifyLang['uploadComplete'] = 'Kész';
  • Don't be too alarmed guys, but the upload has the russian "hack" code mentioned in the Uploadify blog post. See my post here for details.
  • @weehoo:
    -> In my package, there is NO email being sent from uploadify.php to a Russian email address as Security Warning!!! mentions...
    -> The com dir was in it because I upgraded from v2... it was in a package I downloaded, and I never even looked at it... well, I just deleted this entire dir now and uploaded a new version without it... This directory is NOT needed and NOT used at all...

    So, there's NO security problem in my package download, it's completely safe to download it, to use it, and it's working just fine...

    Also, added Hungarian L18N language (thanks to @pilou), corrected uploadify-check-exists.php call, removed com dir...

    Download in first post.
  • bccsergio, I can tell you put a lot of hard work into this. I figuired it was innocent based on the Uploadify blog.

    So it sounds like the "com" directory can be deleted as it's not needed.

    If you put the directory in C:\, the vcard.php script was at C:\uploadify-v.3.0.0_with.full.example\jquery.uploadify-v3.0.0\com\adobe\fileformats\vcard\vcard.php
  • bccsergio, i think the following line allows 1GB file size, not 1MB? It's allowing me to upload 4MB files.

    'fileSizeLimit' : 1*1024*1024, // 1MB

    I think the documentation was wrong.

    The following works with my tests:
    'fileSizeLimit' : 1024, // 1MB
    'fileSizeLimit' : 4096, // 4MB


  • Greetings

    i tried the most recent version posted here: and i only see a message where the upload button should be:
    You've got a problem with your JavaScript

    any idea whats wrong there? btw: there is no help.txt in that package included

    dakky

    edit: i placed the files in a subfolder called uploadify. i changed already the file link in the css and in index.php. still no improvments.
  • @bccsergio

    great release! have been waiting ages for this already, tyvm ^^

    The only thing, maybe I'd do otherwise is instead directories being listed relatively to the root, I would list them relatively to the current working file. That way maybe lots of confusion could be taken away from many people.And add a special accent on the fact that the directory listed in file upload handling MUST BE full server path or how do you call it..

    But anyway, great release everything works really great and the new features makes it possible to develop applications in a much simpler way!



    Thanks again.
  • @weehoo: uploadify 2.1.4 used bytes as default unit... unploadify 3.0.0 uses SWFUpload 2, witch uses KB as default unit, so you're correct, 1MB = 1024... I didn't notice this detail until you bought it to my attention... thanks.

    @dakkar: you'll have to provide more details in order to get help, perhaps a link to your development example...
  • hi
    i have just downloaded this package and did not changed anything. i load the index to the browser and get:
    Notice: Undefined index: submitting in C:\xampp\htdocs\uploadifymulti\index.php on line 99
    and in the iamges:
    You've got a problem with your JavaScript

    javascript is enabled, so i dot see why i get this.

    any idea?
  • what is the php version you use?
    Deprecated: Function ereg_replace()
  • @derrida: ereg_replace was deprecated in php version 5.3, just open uploadify.php and replace line 34:$file = ereg_replace("[^a-zA-Z0-9_.-\[\]()]", "", strtr($file, "()áàâãäéèêëíìîïóòôõöúùûüçÁÀÂÃÄÉÈÊËÍÌÎÏÓÒÔÕÖÚÙÛÜÇ% ", "[]aaaaaeeeeiiiiooooouuuucAAAAAEEEEIIIIOOOOOUUUUC__"));with:$file = preg_replace("/[^a-zA-Z0-9_.\-\[\]]/i", "", strtr($file, "()áàâãäéèêëíìîïóòôõöúùûüçÁÀÂÃÄÉÈÊËÍÌÎÏÓÒÔÕÖÚÙÛÜÇ% ", "[]aaaaaeeeeiiiiooooouuuucAAAAAEEEEIIIIOOOOOUUUUC__"));and you should be fine... I'll change my files here too...
  • hi
    well, i made an Hebrew lang file. and according to the example i have tried this and nothis works.
    the upload button does not appear (only the regular upload button).
    the queue is not generated once i choose a file.

    this is the form:

    <form id="formUp" name="formUp" method="POST" enctype="multipart/form-data" action="">
    <label for="name">Name:<input type="text" id="name" name="name" value="" /></label><br/>
    <label for="email">Email:<input type="text" id="email" name="email" value="" /></label><br/>
    <input type="file" name="file_upload" id="file_upload" value="" />
    <a href="javascript:$('#file_upload').uploadifyUpload();">Upload File</a><br/>
    <div id="msguplaud"></div><br/>
    <input type="submit" id="submit" value="Submit" name="submit" />
    </form>


    and this is the plugin code:

    $("#file_upload").uploadify({
    langFile : 'jquery.uploadify-v3.0.0/uploadifyLang_he.js',
    swf : 'jquery.uploadify-v3.0.0/uploadify.swf',
    uploader : 'jquery.uploadify-v3.0.0/uploadify.php',
    'checkExisting' : 'jquery.uploadify-v3.0.0/uploadify-check-exists.php',
    'cancelImg' : 'uploadify-cancel.png',
    'folder' : 'uploads',
    'method' : 'post',
    'postData' : {},
    'progressData' : 'all',
    'auto' : false, // files are automatically uploaded
    'multi' : false, // enable several files to upload
    'querySizeLimit' : 1,
    'fileTypeExts': '*.jpg;*.jpeg;*.gif;*.png',
    'fileSizeLimit' : 1*1024*1024, // 1MB
    'buttonText' : 'Select a file '

    } );


    what am i doing wrong? i must say that the example is very confusing, it should be more documented.

    best regards

    for now i will use the regular uploadify but how can i pass you the hebrew lang file so when this will be released you could use it?
  • hi
    well, i made an Hebrew lang file. and according to the example i have tried this and nothis works.
    the upload button does not appear (only the regular upload button).
    the queue is not generated once i choose a file.

    this is the form:

    <form id="formUp" name="formUp" method="POST" enctype="multipart/form-data" action="">
    <label for="name">Name:<input type="text" id="name" name="name" value="" /></label><br/>
    <label for="email">Email:<input type="text" id="email" name="email" value="" /></label><br/>
    <input type="file" name="file_upload" id="file_upload" value="" />
    <a href="javascript:$('#file_upload').uploadifyUpload();">Upload File</a><br/>
    <div id="msguplaud"></div><br/>
    <input type="submit" id="submit" value="Submit" name="submit" />
    </form>


    and this is the plugin code:

    $("#file_upload").uploadify({
    langFile : 'jquery.uploadify-v3.0.0/uploadifyLang_he.js',
    swf : 'jquery.uploadify-v3.0.0/uploadify.swf',
    uploader : 'jquery.uploadify-v3.0.0/uploadify.php',
    'checkExisting' : 'jquery.uploadify-v3.0.0/uploadify-check-exists.php',
    'cancelImg' : 'uploadify-cancel.png',
    'folder' : 'uploads',
    'method' : 'post',
    'postData' : {},
    'progressData' : 'all',
    'auto' : false, // files are automatically uploaded
    'multi' : false, // enable several files to upload
    'querySizeLimit' : 1,
    'fileTypeExts': '*.jpg;*.jpeg;*.gif;*.png',
    'fileSizeLimit' : 1*1024*1024, // 1MB
    'buttonText' : 'Select a file '

    } );


    what am i doing wrong? i must say that the example is very confusing, it should be more documented.

    best regards

    for now i will use the regular uploadify but how can i pass you the hebrew lang file so when this will be released you could use it?
  • it has inserted my comment three times:)
  • I don't see confusion in the example... it's pretty much a form that calls a function witch contains uploadify controllers...
    why don't you post a link to your develop area so I can take a look and try to help you?

    just a hint... this files should be relative to root:langFile : '/jquery.uploadify-v3.0.0/uploadifyLang_he.js',
    swf : '/jquery.uploadify-v3.0.0/uploadify.swf',
    uploader : '/jquery.uploadify-v3.0.0/uploadify.php',
    'checkExisting' : '/jquery.uploadify-v3.0.0/uploadify-check-exists.php',
    'cancelImg' : '/jquery.uploadify-v3.0.0/uploadify-cancel.png',
  • I was having issues with the other version of Uploadify so decided to try 3.0. Unfortunately I'm running into the exact same issues, but have no idea why. It has to do with posting larger file sizes. I have a fully customized version running, but to test I just tried your demo version.

    Basically I have 0 issues uploading files up to 20MB. I try uploading something at 23MB and it fails. The problem seems to be that there is nothing in either _POST or _FILES being passed to the uploadify.php script when the file is that size. I've checked all my server values to ensure proper size constraints and unless I'm missing one I do not think that is the issue.

    I also tested by having it send me an email in the uploadify.php file and it sends the email prior to the file being completely uploaded. Is there some variable thats forcing it to try to post early before the file is uploaded?

    In terms of php.ini settings (confirmed with phpinfo();)

    post_max_size = 500M
    upload_max_filesize = 500M
    memory_limit = 500M
    max_input_time = 18000
    max_execution_time = 18000

    am I missing anything here? Could this be an internal setting with my web hosting account? Please let me know if you'd like any code examples I have, but I just copy/pasted your demo and changed the paths to match. I've been struggling with this for about a month now and any help would be greatly appreciated.
  • bccsergio said: hy don't you post a link to your develop area so I can take a look and try to help you?


    i am testing on my local machine.
    i have changed the paths but the same results.

    by the way, at the moment i try to implement uploadify (not the multi lang version) in my own MVC and a bizzare thing happened: the swf is loaded into the html but it does not appear on the page (firebug show it), and i cannot click it to open for choosing files.

    any idea?

    best regards

    by the way can i upload an image to this forum from my local machine?

  • @rrcoey: in my demo page, I just uploaded a 26MB zip file to test, and it uploaded just fine... OK during process, file OK in upload dir... no errors at all... so I can only think that you are having server problems... (I know my demo has 1MB + files blocked and only upload images, but I released these options only for testing purposes, and then blocked again to save my server's disk space)

    @derrida: aren't you running into any permission problem? You can link uploaded images to your post (using Control+P shortcut), to upload your images, just use any free service like http://tinypic.com/ or http://imageshack.us/ , but looking into an image won't help as much as see code in action to debug and see what's really going on...