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 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.
Workaround for application/octet-stream and Images
  • Today i spend a lot of time with uploadify and maybe someone is interested in this workaroud on uploading images especially for people who are not allowed to install additional fileinfo-packages from pecl.

    I simply use the function "getimagesize" to test the mime type.


    $testmime = @getimagesize($_FILES['Filedata']['tmp_name']);

    if (is_array($testmime))
    switch ($testmime['mime'])
    case 'image/pjpeg': $orig = @imagecreatefromjpeg($_FILES['Filedata']['tmp_name']); break;
    case 'image/jpeg':$orig = @imagecreatefromjpeg($_FILES['Filedata']['tmp_name']); break;
    case 'image/jpg': $orig = @imagecreatefromjpeg($_FILES['Filedata']['tmp_name']); break;
    case 'image/gif': $orig = @imagecreatefromgif($_FILES['Filedata']['tmp_name']); break;
    case 'image/png': $orig = @imagecreatefrompng($_FILES['Filedata']['tmp_name']); break;


  • The user and all related content has been deleted.