I have noticed that if I manually create a directory and CHMOD it to 777 my file upload script works just fine, but if the folder is created but my other script, I keep getting the errors. When I tried move_uploaded_file instead of copy one of the errors went away but this one persisted:
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 608 is not allowed to access /my/absolute/path/to/script/creted/directory owned by uid 99 in /absolute/path/to/my/script.php on line 337
Now, line 337 has this:
if (move_uploaded_file($source,$dest))
or
if (copy($source,$dest))
So where's the disconnect. How can I create a directory with the script and have it behave the same way as when I create directory manually? In both cases CHMOD is 777, I checked...