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 '); ?>
|change password links||7||74|
|selecting both the price and sum(price ) with mysql statement||5||12|
|How to customise checkout order confirmation with variable products WooCommerce||6||10|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
17 Experts available now in Live!