各位大虾,我上传的PHP文件在公司租的服务器中,以下是我在公司网站中上传产品图片的错误信息: Warning: move_uploaded_file(/home/gameplant/public_html/xiaoyouxi/images/supplierImages/2005187.jpg): failed to open stream: Permission denied in /home/gameplant/public_html/xiaoyouxi/supplier/supplier-handle-upload-production.php on line 59Warning: move_uploaded_file(): Unable to move '/var/tmp/phpVZySNt' to '/home/gameplant/public_html/xiaoyouxi/images/supplierImages/2005187.jpg' in /home/gameplant/public_html/xiaoyouxi/supplier/supplier-handle-upload-production.php on line 59 moved file failed如果是权限的问题,我怎么去解决,在线急等
move_uploaded_file? false ?注: move_uploaded_file() 对安全模式和 open_basedir 都是敏感的。不过,限制只针对 destination 路径,因为允许移动上传的文件名 filename 可能会与这些限制产生冲突。move_uploaded_file() 仅作用于通过 PHP 上传的文件以确保这个操作的安全性。目录权限要注意,0654
Warning: move_uploaded_file(/home/gameplant/public_html/xiaoyouxi/images/supplierImages/2005187.jpg): failed to open stream: Permission denied in /home/gameplant/public_html/xiaoyouxi/supplier/supplier-handle-upload-production.php on line 59Warning: move_uploaded_file(): Unable to move '/var/tmp/phpVZySNt' to '/home/gameplant/public_html/xiaoyouxi/images/supplierImages/2005187.jpg' in /home/gameplant/public_html/xiaoyouxi/supplier/supplier-handle-upload-production.php on line 59
moved file failed如果是权限的问题,我怎么去解决,在线急等