I need to parse some very large pdf files, around 3 Mb. I need to get to the end of these files quickly then find the startxref string near the last 5 or so lines of the file, then set a varaible equal to the next x digits after that string?
Make sense??
Can anyone help me? Heres what I have so far but stuck now.
<?php
//put pdf file into line by line array
$pdf_file=file('test.pdf','1');
// set array line number line
list ($line_num, $line) = each ($pdf_file))
// set pointer to end of document find string startxref