Dapatkan file setiap baris dalam php

$filecreate = fopen($filename,'r');
while (($line = fgets($filecreate)) !== false) {
    echo $line;
}
Homely Hamerkop