我对每个文件都有这个问题,所以我没有写完整的编码,我只写了几行,然后比我解释了错误.
i have this problem for every file so i am not writing whole coding i am writing few lines and than i am explaining the error.
1. <?php 2. include_once("C:\\Users\arif\\Desktop\\newregistration\\checkuserlog.php"); 3. ?>警告:include_once(C:\ Users \ arif \ Desktop \ newregistration \ checkuserlog.php) 无法打开流:在第3行的/home/content/80/8261380/html/index.php中没有此类文件或目录 我包含文件名checkuserlog.php,并检查了文件路径为C:\ Users \ arif \ Desktop \ newregistration \ checkuserlog,文件类型为phpscript(.php) 我要在索引中包含的每个文件中都有此问题.因此,如果某个身体能够为我解决问题,我将能够解决其他问题, 谢谢
Warning: include_once(C:\Users\arif\Desktop\newregistration\checkuserlog.php) failed to open stream: No such file or directory in /home/content/80/8261380/html/index.php on line 3 i am including the file name checkuserlog.php and i checked it path for the file is C:\Users\arif\Desktop\newregistration\checkuserlog and the type of the file is phpscript (.php) this problem i have in every file which i am trying to include in the index. So if some body able to solve it for me i will be able to solve others, Thanks
推荐答案首先记住\是转义字符.当您需要使用斜杠时,请使用双斜杠.即 include_once("C:\\ Users \\ arif \\ Desktop \\ newregistration \\ checkuserlog.php"); first remember \ is an escape character. when you need to use slash use double slash. i.e. include_once("C:\\Users\\arif\\Desktop\\newregistration\\checkuserlog.php");
更多推荐
无法打开文件,在目录中,我
发布评论