You are here: Re: Parse PDF Form fields in PHP « PHP Programming Language « IT news, forums, messages
Re: Parse PDF Form fields in PHP

Posted by Bill Segraves on 02/20/07 21:32

"Perks" <andyperks@gmail.com> wrote in message
news:1171997526.586622.284300@t69g2000cwt.googlegroups.com...
<snip>
> Hi Bill.
>
> Thanks for your response.
>
> Yes, indeed Google helped me come across Pdftk in my research, but
> unfortunately I cannot use this as it falls under GPL, and my end
> solution would be for a system that I unfortunately could not likewise
> GPL, and therefore counts this out of the running (hence my need for a
> lesser licensed library or indeed no library at all - DIY style :-/).

Andy, it appears your reasoning may be flawed, i.e., you want to parse a PDF
with PHP in order to discover the names of the form fields. You really don't
have to parse the PDF to determine the names of the form fields, as you can
"submit" (as HTML - URLencoded name=value pairs) the PDF form to a script
that will do the parsing for you, transforming the form data into an HTML
form.

A script to parse the form data can be written in about one line of code,
exclusive of various decalrations, in Perl. I don't know how many LOC it
would take in PHP.

Cheers,
--
Bill Segraves

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация