我收到了这个错误日志:
move_uploaded_file() enter code here [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/tmp/phpGmUpFW' to 'images/test@yahsoo.com.jpg' in enter code here
[..] send.php on line 32
也是错误日志
`include(user_agent.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/[irelevent]/Craciun2013/index.php on line 63`
第32行指出:
if (move_uploaded_file($_FILES['uploaded_file']['tmp_name'], $file)) {
请帮忙。
答案 0 :(得分:0)
似乎php(无论是www-data,apache还是其他用户运行它)都没有当前路径的权限。你有没有检查过谁是文件夹所有者以及它有什么权限?