Opening and reading a file line by line$filename = "test.txt";$fp = fopen( $filename, "r" ) or die("Couldn't open $filename");while ( ! feof( $fp ) ) { $line = fgets( $fp, 1024 ); print "$line";}?>