I've written a file upload script, but get this error, I'm assuming because the owner/group of the htdocs directory is not the same as the owner/group of the /tmp directory. I've been trying all night to get it to work, but no matter what, I get this:
PHP Warning: move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: SAFE MODE Restriction in effect. The script whose uid/gid is 10001/2523 is not allowed to access / owned by uid/gid 0/0 ...
I thought I could fix it by turning off Safe Mode (which, I really didn't want to do), and confirmed with phpinfo() that the Master Value of safe_mode was off, but the Local Value was still on. (Not sure how to change that?)
I also tried modifying safe_mode_gid and and running 'chown' on the tmp file from within the script (although, couldn't get that to work), modifying the upload_tmp_dir, usining ini_set("safe_mode",0) within the script, and trying to modify the .htaccess file, but none of those worked either.
I'm pulling out my hair and banging my head against the wall.... Any other suggestions?