Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Syntax check: pdftk running through php exec


The_Hat - 4:28 pm on Feb 12, 2010 (gmt 0)


I installed the library for pdftk on my LAMP, and am trying to run it programatically to split a pdf into separate files for each page..

Assuming that I have the correct location for the pdftk library should

<? $command = "/usr/local/bin/pdftk example.pdf burst";
exec($command); ?>


with the pdf in the same folder as the php script do it?


Thread source:: http://www.webmasterworld.com/php/4079112.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com