the file() function takes each line of the target into an array ..
$array=file("http://somesite.com/index.html");
$array[0] would contain the first line
$array[1] would contain the second line
etc ...
it might be messy depending on how they code, but that is one way to do it.