Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $fp = fopen("file.txt", "r");
- $content = fread($fp, filesize("file.txt"));
- fclose($fp);
- $content_array = explode("\n", $content);
- $content_end = end($content_array);
- echo($content_end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement