My question is, for some reason when I execute the pdftk command to fill a form through PHP, I get an error from pdftk that it can't find the file. I copy the command and paste it on the terminal and it works fine. I am using full paths for the program and the files locations. Any idea what I can do to fix this problem and be able to execute it from the PHP script? I'm using Ubuntu and got the pdftk from the Ubuntu repos.
Thank you
Nevermind, figured it out. Using dirname and FILE fixed my problem.