Re: All type(extensions) of files upload is there?

  •  11-02-2011, 8:39 AM

    Re: All type(extensions) of files upload is there?

    HI premf5,
     
    If you didn't set property "SaveDirectory". Please remove property setting "AllowedFileExtensions". Then you can upload all type of files (except the extension which willcause security risks, like asp/php/aspx)
     
    For security reason, if you using property "SaveDirectory", you need to use property "AllowedFileExtensions" to set the extensions for uploader control.  Like
     
    $uploader->AllowedFileExtensions="*.jpg,*.png,*.gif,*.bmp,*.txt,*.zip,*.rar";
     
    Regards,
     
    Ken
View Complete Thread