I've been using qpdf to remove .pdf restrictions, this can be used throught php like this:
shell_exec('qpdf --decrypt "'.$pdfName.'" unlocked.pdf');
This works well on localhost, but it's impossible to execute on a shared web hosting for security reasons.
So I'm looking for another way to make this work without shell commands.
Is there any solution on PHP or JavaScript languages?
from remove .pdf restrictions from php or javascript
No comments:
Post a Comment