Jump to content

Reading a PDF


Dtonlinegames

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.