It may be a bit of a beast, but I still have to do it:
Is it possible to import data from a file into pdf
into php
and save to mysql
?
It may be a bit of a beast, but I still have to do it:
Is it possible to import data from a file into pdf
into php
and save to mysql
?
A very cool and interesting way is to use this Git project:
<?php
include ('../pdf.php');
if ($argc<2)
{
echo "\n\tphp -f pdf2text.php filename.pdf\n\n";
die;
}
$pdf = new Pdf($argv[1]);
foreach ($pdf->getStreams() as $obj)
{
echo $obj->getValue()->toString();
}
?>
After you use the foreach to perform the necessary inserts in the database:)