Uploadify completes but image not on the server

Posted on 2014-07-12
Last Modified: 2014-07-17
I installed Uploadify 5 (the HTML5 version) on this page:

When you click SELECT in the form and choose image(s), it uploads and then displays a "complete" message. Using Firebug, the POST seems to have completed successfully. However, no JPG file appears on the server.

In my uploadifive.php script, I set the upload directory as follows:

$uploadDir = '/uploads/';

Open in new window

I created an "uploads" directory in both the root and within the "uploadify" directories (where uploadifive.php is located), to be sure. Both are set to 777 full permissions.

I'm not sure what else to try. Any advice? Anything I can add to the PHP script to try to figure out what is going on?
Thank you!
Question by:bbdesign

    Author Comment

    I installed the Uploadify demo at this URL, and this DOES work:

    File appears in the "uploads" directory of the root. My PHP script and the demo PHP script are identical.

    This must have something to do with the fact that my page is in a folder? (even though it isn't in a folder, its a WordPress-generated page).
    LVL 13

    Expert Comment

    It might be full path issue .
    Please send us the exact full path of $uploadDir = '/uploads/';

    I guess it is at /home/yourwebsite/public_html/uploads/, Right ?

    If so, set it as

    Take a look at this about $_SERVER variable at

    Hope understand your question completely.If not, please point it out


    Accepted Solution

    Thank you for looking, but it seems this is an issue with an md5 string that is passed to the script, I am guessing for security. I was not passing the value, so it was rejecting the post.
    LVL 52

    Expert Comment

    by:Scott Fell, EE MVE
    Very cool site.  

    But icecream on a hot dog?
    Mustard, glowing green relish, pickle wedge, tomato wedge,  sport peppers, onions and celery salt.  That's a dog!

    Author Closing Comment

    Found problem.

    Featured Post

    Javascript: Crash Course

    Javascript is not only emerging as the most important language to know, it's flexibility is unique. With Javascript being deployed on the web, mobile and even the desktop this is the one language that all technologists need to know.

    Join & Write a Comment

    This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now