按行讀取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
相關文章
相關標籤/搜索