squiblo Posted April 25, 2010 Share Posted April 25, 2010 I have a file (file.txt) and text is always being appended, how can I get last line only from the file. Thanks Link to comment https://forums.phpfreaks.com/topic/199666-read-txt-file-last-line-only/ Share on other sites More sharing options...
papaface Posted April 25, 2010 Share Posted April 25, 2010 Google and initiative are great things. http://www.php.net/manual/en/function.fseek.php#69000 Link to comment https://forums.phpfreaks.com/topic/199666-read-txt-file-last-line-only/#findComment-1047934 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.