Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Protection returning incorrect owner password when try to copy text #808

Open
noveweb opened this issue Sep 12, 2024 · 0 comments

Comments

@noveweb
Copy link

noveweb commented Sep 12, 2024

Password protection to open the file still working, but when i try to copy some text from pdf file a password prompt open asking me by the owner password. When i type the owner password the prompt return that the owner password is incorrect:

Im using same password for user and owner. My code:

$pass = "123789";

if($pass){
$html2pdf->pdf->SetProtection(array('copy','print'), $pass, $pass, 0, null);
}

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant