没有输出
Warning: fopen(): Unable to access /resourse/php/f.txt in /754/5qko/index.php on line 3
Warning: fopen(/resourse/php/f.txt): failed to open stream: No such file or directory in /754/5qko/index.php on line 3
Warning: fclose() expects parameter 1 to be resource, boolean given in /754/5qko/index.php on line 12
$file_handle=fopen("/data/webroot/resourse/php/f.txt","r");
是resource,不是resourse。文件名写错了,当然就找不到
$file_handle=fopen("/data/webroot/resource/php/f.txt","r");