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.
Progress bar loading but no files uploaded
  • Hi, the setup of uploadify was very easy and I've gotten the actual file browser to work. Once I select a file, the progress bar goes right away but after it finishes, it doesn't seem to be placing a file anywhere. This is my php script that I need to input data into a database:
    <?php
    if ($_REQUEST['hebron_id']) {
    $authorID = $_REQUEST['hebron_id'];
    }
    if ($_REQUEST['hebron_id']) {
    $albumID = $_REQUEST['albumID'];
    }
    $connect = mysql_connect('xxx', 'xxx', 'xxx');

    $author = 1;

    mysql_select_db('xxx', $connect);
    $sql = "SELECT folder FROM albums WHERE id='".$albumID."'";
    $result = mysql_query($sql);
    $album = mysql_fetch_array($result);
    $albumFolder = $album['folder'];
    $uploaddir = "xxxx" . $albumFolder . "/";
    $file_name = $_FILES['userfile'][ 'name' ];
    $newFileName = time() . "-" . $file_name;

    $source_file_path = $_FILES['userfile']['tmp_name'];

    if( move_uploaded_file( $source_file_path, $uploaddir.$newFileName ) ) {
    $sql = "INSERT INTO images(file, album, author) VALUES('".$newFileName."', '".$albumID."', '".$author."')";
    $result = mysql_query($sql);
    if(!$result) {
    echo "Could not store into database";
    } else {
    echo "Success!";
    }
    }


    ?>


    x's because you can't be too safe. And I know this script works because when I use it with a simple html upload form, it works.

    Any ideas? I was thinking it's my webhost's fault because the reason I'm using a flash/javascript uploader if because my host won't allow java applets to upload files. Is there anyway around this?