megglz Posted January 22, 2011 Share Posted January 22, 2011 I have a bunch of pdf's and I want to extract text from the last page of every pdf. I have a function to count the number of pages in each pdf. Does anyone know of a way that I could extract file from a specified file and page number. example: getData('example.pdf', 54); Link to comment https://forums.phpfreaks.com/topic/225342-extracting-data-from-a-specified-file-and-a-specified-page-number/ Share on other sites More sharing options...
litebearer Posted January 23, 2011 Share Posted January 23, 2011 This may be a start... http://davidwalsh.name/read-pdf-doc-file-php Link to comment https://forums.phpfreaks.com/topic/225342-extracting-data-from-a-specified-file-and-a-specified-page-number/#findComment-1163785 Share on other sites More sharing options...
QuickOldCar Posted January 23, 2011 Share Posted January 23, 2011 This could be useful as well http://nl3.php.net/manual/en/ref.pdf.php Link to comment https://forums.phpfreaks.com/topic/225342-extracting-data-from-a-specified-file-and-a-specified-page-number/#findComment-1163811 Share on other sites More sharing options...
megglz Posted January 23, 2011 Author Share Posted January 23, 2011 Thanks, checking those out now Link to comment https://forums.phpfreaks.com/topic/225342-extracting-data-from-a-specified-file-and-a-specified-page-number/#findComment-1163915 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.