suren Posted April 6, 2006 Share Posted April 6, 2006 I have created a pdf using FPDF class .Is it possible to lock the PDF document and giving access rights using PHP. Quote Link to comment https://forums.phpfreaks.com/topic/6719-pdf-generation-using-php/ Share on other sites More sharing options...
Barand Posted April 6, 2006 Share Posted April 6, 2006 [code]<?phpif ($is_authorized_to_view_pdf) { # generate PDF}else { # don't}?>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/6719-pdf-generation-using-php/#findComment-24591 Share on other sites More sharing options...
suren Posted April 7, 2006 Author Share Posted April 7, 2006 [!--quoteo(post=362358:date=Apr 6 2006, 03:46 PM:name=Barand)--][div class=\'quotetop\']QUOTE(Barand @ Apr 6 2006, 03:46 PM) [snapback]362358[/snapback][/div][div class=\'quotemain\'][!--quotec--][code]<?phpif ($is_authorized_to_view_pdf) { # generate PDF}else { # don't}?>[/code][/quote]That's fine, but I want to open the document and make it as readonly.That is no one can change the content of the PDF document with any of the PDF document editing tool.How to enable the readonly option. Is it possible through PHP.Thanks Quote Link to comment https://forums.phpfreaks.com/topic/6719-pdf-generation-using-php/#findComment-24671 Share on other sites More sharing options...
zq29 Posted April 7, 2006 Share Posted April 7, 2006 Have you looed through the FPDF reference manual? All of its functions and classes are documented in there. Quote Link to comment https://forums.phpfreaks.com/topic/6719-pdf-generation-using-php/#findComment-24683 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.