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 Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.