- Oct 19, 2000
- 17,860
- 4
- 81
I'm trying to upload a file via PHP, and I'm getting errors when trying to copy it from the temp directory to a permanant one. Everything else works fine, I just can't get it to copy.
When running phpinfo(), I see that the upload_tmp_dir is set to no value. However, I've read elsewhere previously that stated this having no value was typically only a problem when running on Windows. My _SERVER["PATH"] shows as /bin:/usr/bin, I'm assuming that's some kind of *nix variant, correct?
I've also modified permissions on the folder to 777 that I'm trying to move the file to.
Can anyone give me some tips to help me get moving in the right direction to figure this out? Should the upload_tmp_dir be changed to a definite value, and if so, is that typically something you request of the webhost? I appreciate any help.
When running phpinfo(), I see that the upload_tmp_dir is set to no value. However, I've read elsewhere previously that stated this having no value was typically only a problem when running on Windows. My _SERVER["PATH"] shows as /bin:/usr/bin, I'm assuming that's some kind of *nix variant, correct?
I've also modified permissions on the folder to 777 that I'm trying to move the file to.
Can anyone give me some tips to help me get moving in the right direction to figure this out? Should the upload_tmp_dir be changed to a definite value, and if so, is that typically something you request of the webhost? I appreciate any help.