PHP 7 HTML2PDF.js Script to Encrypt PDF Document With Password in Browser Using HTML5 & Javascript

  • Post author:
  • Post category:PHP
  • Post comments:0 Comments

 

Ok, i found the solution:

$html2pdf->pdf->SetProtection(array('print', 'copy'), 'mi_password', null, 0, null);

 

 

 

Leave a Reply