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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.