Hello, I am using a php function to merge 2 pdfs and it works great.
<?php include 'PDFMerger.php'; $pdf = new PDFMerger; $pdf->addPDF('testFile5.pdf', 'all') ->addPDF('testFile57.pdf', 'all') ->merge('download', 'samplepdfs/TEST2.pdf'); ?>
I get a merged pdf as soon as the page loads.
I need the ability to make this merge happen when the user clicks a button, and I am stumped.
Im a bit of a php nooby so please excuse my ignorance.
Further more I need the user to be able to select or click and drag over pdfs to be merged.
Any help is MORE than appreciated.