I am working on reading a file in php. I need to read specific lines of the file.
I used this code:
fseek($file_handle,$start); while (!feof($file_ha
You must read from the beginning. But if the file never/rarely changes, you could cache the line offsets somewhere else, perhaps in another file.