Currently, I am trying to add "upload" functionality to my project, but for some reason, when the move_uploaded_file() function is called on it, the following error is generated:
Warning: move_uploaded_file(D:/web_services/httproot/nbprj/img/u) [function.move-uploaded-file]: failed to open stream: Permission denied in D:\Web_Services\php_include\admin\manimgs.php on line 120Now this error may appear to be simple write permission issue, but the account that is running the service has full r/w permissions to the directory that is supposed to host the uploaded file:
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\Web_Services\http_inc\phpC4.tmp' to 'D:/web_services/httproot/nbprj/img/u' in D:\Web_Services\php_include\admin\manimgs.php on line 120
Expand|Select|Wrap|Line Numbers
- D:\Web_Services\httproot\nbprj\img\u>echo %USERNAME%
- Web Service
- D:\Web_Services\httproot\nbprj\img\u>echo "some text" >> file.txt
- D:\Web_Services\httproot\nbprj\img\u>type file.txt
- "some text"
- D:\Web_Services\httproot\nbprj\img\u>del file.txt
- D:\Web_Services\httproot\nbprj\img\u>
I'm certain that "Web Service" is the account that is running the httpd server.
Any ideas what is causing me a headache?