问答详情
源自:3-13 PHP第一种特殊类型—资源

为什么结果没运行出来就通过下一节

我的代码:$file_handle = fopen("/data/webroot/resource/php/f.txt","r");

右边的错误提醒

Warning: fopen(): Unable to access /resource/php/f.txt in /754/4wIN/index.php on line 3

Warning: fopen(/resource/php/f.txt): failed to open stream: Permission denied in /754/4wIN/index.php on line 3

Warning: fclose() expects parameter 1 to be resource, boolean given in /754/4wIN/index.php on line 12

提问者:poser 2015-01-18 12:09

个回答

  • YoungDee
    2015-01-21 13:25:23

    一样 应该是服务器那边文件没了...