Uploadify completes but image not on the server

I installed Uploadify 5 (the HTML5 version) on this page:
http://www.berksfoods.com/crazyhotdogcontest6/

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!
Brad BansnerWeb DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brad BansnerWeb DeveloperAuthor Commented:
I installed the Uploadify demo at this URL, and this DOES work:
http://www.berksfoods.com/Sample/

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).
0
duncanb7Commented:
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

$uploaDir=$_SERVER['DOCUMENT_ROOT']."/uploads/";
Take a look at this about $_SERVER variable at http://php.net/manual/en/reserved.variables.server.php

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

Duncan
0
Brad BansnerWeb DeveloperAuthor Commented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
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!
0
Brad BansnerWeb DeveloperAuthor Commented:
Found problem.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.