pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: PDF scraping -> Access DB part 2
Date Wed, 17 Feb 2016 07:15:59 GMT
Am 17.02.2016 um 04:24 schrieb Tres Finocchiaro:
>     - If you're building out your insert statements from scratch, you'll
>     want to be very careful to sanitize your table names
>     <https://github.com/LMMS/lmms.io/blob/master/public/lsp/dbo.php#L91:L115>,
>     field names
>     <https://github.com/LMMS/lmms.io/blob/master/public/lsp/utils.php#L178:L184>
>     and variables (PHP examples provided only as an example).
>     - If you have generically named fields in the PDF you can choose from,
>     you may want to index them in an Enum or HashTable i.e. foo.put("Field1",
>     "FirstName"); etc.

Most important work on this topic:

https://xkcd.com/327/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message