Reading a php file like a web form

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Paddy
Forum Contributor
Posts: 244
Joined: Wed Jun 11, 2003 8:16 pm
Location: Hobart, Tas, Aussie
Contact:

Reading a php file like a web form

Post by Paddy »

Hi all,

Firstly, hi again. Haven't been around for a while.

I need to strip information from a pdf pretty much the same way you would with a form. The only info I have seen on PDFs with php is creating them. If I could just grab the whole content of the PDF in a string that would be fine.

Can anyone send me in the right direction?

Cheers.
magicrobotmonkey
Forum Regular
Posts: 888
Joined: Sun Mar 21, 2004 1:09 pm
Location: Cambridge, MA

Post by magicrobotmonkey »

Do you mean the user fills out a pdf then you want to get the info from it?
Paddy
Forum Contributor
Posts: 244
Joined: Wed Jun 11, 2003 8:16 pm
Location: Hobart, Tas, Aussie
Contact:

Post by Paddy »

Exactly.

They fill out a pdf form, upload it, and then I use php to get the info out of it.
magicrobotmonkey
Forum Regular
Posts: 888
Joined: Sun Mar 21, 2004 1:09 pm
Location: Cambridge, MA

Post by magicrobotmonkey »

Hmm.. I don't know - I've never heard of anything that goes that way... Maybe you'll have to reverse enginerr http://www.fpdf.org but I don't even know if its possible!
Paddy
Forum Contributor
Posts: 244
Joined: Wed Jun 11, 2003 8:16 pm
Location: Hobart, Tas, Aussie
Contact:

Post by Paddy »

Yeah, after extensive research I have not found anything.

If I do find a solution I will let you guys know.
Paddy
Forum Contributor
Posts: 244
Joined: Wed Jun 11, 2003 8:16 pm
Location: Hobart, Tas, Aussie
Contact:

Post by Paddy »

Kinda found a solution.

FDFs allow you to submit a form from a pdf to a web page for processin like a web form.

http://www.planetpdf.com/mainpage.asp?WebPageID=338
Post Reply