You can use the fgets() function to read the file line by line: $handle = fopen("inputfile. txt", "r"); if ($handle) while (($line = fgets($handle)) !== false) // process the line read.
You can use the fgets() function to read the file line by line: $handle = fopen("inputfile. txt", "r"); if ($handle) while (($line = fgets($handle)) !== false) // process the line read.