Answer the question
In order to leave comments, you need to log in
How to create pdf using mPDF library on Bitrix?
The problem is that mPDF shoves the result of executing the entire script up to the component into the finished file! Those. connection of styles, header and other things. How to remove this and is there a ready-made template for the component that creates pdf for Bitrix?
Answer the question
In order to leave comments, you need to log in
or just connect the prologue on the generator page.
In general, we encountered the fact that an attacker can click on the buttons for generating a pdf file, thereby planting the system.
We decided to generate all the pfds once, and then regenerate them to change the elements of the infoblock.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question