I have a question, I use tdftk to split the pages of a PDF file with php. using the following command
$command = escapeshellcmd("pdftk ").escapeshellarg("/var/www/card/card.pdf")." ".escapeshellcmd(" burst"); $result = passthru($command);
it works very well and breaks pages into files.
Now my question is, can I set the output location where the package files should be stored.
by default, it places the files in the root of the siteβs site, where I want the files in the / var / www / card / pages / directory.
Is there a way to do this in PDFTK?
Please help me with this ...
source share