I have a file test.txt
over 4 lines:
This
Is
A
Test
I have a PHP script which when I run grabs the contents of this file and displays for me:
<?php
$file = file_get_contents('https://www.mywebsite.com/test.txt');
echo $file;
?>
Is there any way to get a specific line from the test.txt
file?