You can use fgets()...
fgets(int fp, int length)
is will read in fp length characters from the beginning of the line...
Example... you want the 4 first characters of the currant line...
<some code...>
$4chr = fgets($fp, 4);
But personnally, I would use something like that :
$fch = "file.extension";
$fp = fopen($fch, "r");
$file_content = fread($fp, filesize($fch));
$a_part_of_the_file = substr($file_content, 53, 105);
fclose($fp);
$a_part_of_the_file would start to the characters 53 of the file and go until the (53 + 106)th characters(159th character).
substr() ? take a certain portion of a string... substr(string, start [, length])
fread() ? read an entire file... fread(fp, length)
filesize() ? returns the size of the file... in this example it is used for the "length" parameter of fread()
Hope it will help.