Thanks for the ticket. I have attached some screenshots for you to better explain what's going on.
I included a copy of the galleryupload.php in my original message thread.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.