Dtonlinegames Posted April 8, 2009 Share Posted April 8, 2009 Hi guys, I'm aware that reading a PDF is basically impossible being literally just print instructions. But I need to develope an application that can read it either by converting it to HTML/XML first or not so I can extract data to import into my tables. Does anyone know where to point me? and if your going to post third party scripts, this product is planned to go to market so I dont want sueing so can you make sure there ok to resell as part of my software Thanks guys Link to comment https://forums.phpfreaks.com/topic/153147-reading-a-pdf/ Share on other sites More sharing options...
phil88 Posted April 8, 2009 Share Posted April 8, 2009 I managed to find this. It says its for going from HTML to PDF, but I don't know if it contains any method to go the other way or not. Link to comment https://forums.phpfreaks.com/topic/153147-reading-a-pdf/#findComment-804451 Share on other sites More sharing options...
Dtonlinegames Posted April 8, 2009 Author Share Posted April 8, 2009 I'll have a look, thanks for the speedy reply! I'll let you know. I was looking at FPDF but it seems a tad complex just to break a file of 3 character numbers up into text. I was just thinking it might be easier to file_get_contents and preg_replace (or str replace I'll benchmark it) and remove all the numbers (print instructions) and write a HTML file. what does everyone else think? Link to comment https://forums.phpfreaks.com/topic/153147-reading-a-pdf/#findComment-804455 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.