按行读取log文件

PHP技术交流QQ群:490910618spa 1 $line = ''; 2 3 $f = fopen('data.txt', 'r'); 4 $cursor = -1; 5 6 fseek($f, $cursor, SEEK_END); 7 $char = fgetc($f); 8 9 /** 10 * Trim trailing newline chars of t
相关文章
相关标签/搜索