Ok... glad you got the folder issue worked out... for the other problem, my next question is are you running PHP on IIS Server or Apache? It still sounds like there is a permissions problem on your folder.
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.