We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
This is the working code, but uses a static filename for the output file (final.pdf): <?php passthru('/pdftk /singles/*.pdf cat output /singles/final.pdf'); ?> This is the code that I tried to use a variable to define the output file name, but does not work: <?php $dir = "/final/"; $case = "1800644105"; $final = $dir . $case; passthru('/pdftk /singles/*.pdf cat output $final '); ?>