Answers for "read pdf using php"

PHP
1

read pdf text in php

<?php

include('class.pdf2text.php');
$a = new PDF2Text();
$a->setFilename('test.pdf');
$a->decodePDF();
$data = $a->output();
echo $data;
echo "Hello";
Posted by: Guest on January-08-2022
0

php pdf

<?php
// We'll be outputting a PDF
header('Content-Type: application/pdf');

// It will be called downloaded.pdf
header('Content-Disposition: attachment; filename="downloaded.pdf"');

// The PDF source is in original.pdf
readfile('original.pdf');
?>
Posted by: Guest on May-11-2021

Browse Popular Code Answers by Language