I currently have the need of editing the forms which are inside a PDF.
Unfortunately, theses PDF are from the Government, so I don’t have the password…
Is their a way of doing this in PHP?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. You need the password to unlock the PDF. If it’s an older version of pdf, the encryption is probably weak and the password can be bruteforced by various apps, but recent PDF specifications use AES encryption and you’re not likely to ever discover what the password is.
PHP cannot magically decrypt the PDF just because it’s PHP, just as you can’t fly even though you chugged a can of Red Bull.