上传图片
当我将图像上传到文件夹时出现此错误:
警告:fopen(images1/image.jpg) [function.fopen]:无法打开流:权限被拒绝。
我授予了读/写权限。但它不起作用。如何纠正这个错误?有人可以帮我吗?
问候, 帕德玛。
I got this error when I'm uploading the image into the folder:
Warning: fopen(images1/image.jpg) [function.fopen]: failed to open stream: Permission denied.
I gave read/write permissions. but its not working.How to rectify this error? Anyone can help me please?
Regards,
padma.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您必须确保您具有该文件夹的读/写权限。
You have to make sure you have read/write permissions to the folder.
是否是因为您没有权限打开
images/image.jpg
中的图片?另外,请确保您拥有该文件夹的访问权限。
Is it because you don't have the permission to open the image in
images/image.jpg
?Also, make sure that you have the access right to the folder.