文件未打开错误: [英] file not open error:

查看:68
本文介绍了文件未打开错误:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须使用< input type ="file">从任何位置打开文件.但是错误显示警告:fopen(./)[function.fopen]:无法打开流:第23行的C:\ xampp \ htdocs \ Rank_tele \ home.php中没有此类文件或目录
请帮忙.对我来说这是一个非常严重的错误

I have to open my file from any location using <input type="file"> but error is showing that Warning: fopen(./) [function.fopen]: failed to open stream: No such file or directory in C:\xampp\htdocs\Rank_tele\home.php on line 23
Please help. It''s a very critical error for me

推荐答案

fopen(./)[function.fopen]:无法打开流:没有这样的文件或目录
错误说明了所有问题.您提供的用于打开文件的任何路径都不正确.路径中缺少任何目录文件夹,或者指定位置中不存在文件.请检查并确保它存在于该位置.

此外,还请确保没有安全权限问题阻止通过您的代码访问文件.
fopen(./) [function.fopen]: failed to open stream: No such file or directory
Error explains all. Whatever path you are giving for the file to open is incorrect. Either any directory folder is missing in the path or file is not present in the location specified. Please check that and make sure it is present at that location.

Further, also make sure there is no security permission issue that is stopping file to be accessed via your code.


这篇关于文件未打开错误:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆