Welcome to the new Uploadify Community Forums. We've made the switch from PHPBB to Vanilla Forums in hopes of controlling the SPAM more efficiently. We hope this change doesn't suck so much. Also, don't forget to wrap your code in tags. You can quickly insert code using ctrl + f.
I lost some messages that were posted on February 4th. If you posted a message or reply on February 4th, please do so again. Sorry about the inconvenience.
File extenstion
  • Hi there

    Great code you have and I'm really like it.

    I think there is a littler problem with the "file ext".

    I tried to do this:

    'fileDesc' : 'Images Files',
    'fileExt' : '*.jpg;*.gif;*.bmp;*.png',


    but when the dialog window appear, I can write "*.txt" and to found other type of files and the to upload them. or at least, to try upload them.

    Is there anyway to prevent this?
  • the fileExt feature is a filtering function within the flash dialog. To prevent users from uploading invalid filetypes to your server you need to add server side validation. Ronnie has added some sample code to the upload script. Use that as a basis
  • TravisN, thanks for the great work here on this project.

    I have this working online now, and its getting several hundred uploads per day. Some of the non USA uploaders are uploading file names that have bad english characters in them, bad file name characters ($*/\' " & etc) and even just spaces in the filename. In order to keep this online, I need to make sure these files are actually my supported mime types, and make sure they are not uploading non usa character sets in the file names.

    Can you point me to some of the code samples showing server side form validation of the upload files NAME, and mime TYPE? Is anything coming up within the project updates to handle this situation?
    I havent had any luck finding solid documentation of code samples in the forum.

    ALSO, your forum registration is almost impossible. The captcha images are completely unreadable. Took me over 10 tries, and 2 different browers (it locks u out after too many tries). I am sure this is causing you to lose REAL new users.




    Thanks,

Howdy, Stranger!

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