Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Crazylife's avatar

Can i add pdf generated from dompdf without save to a public folder?

I want to add pdf file without storing in server and directly download with ZipArchieve.

Is there possible to do this?

0 likes
1 reply
fatenfalfoul's avatar

I have the same problem and I'm thinking to generate my pdf report on an IFRAME html tag such as :

<iframe src=”/pdf/sample-3pp.pdf#page=2" width=”100%” height=”100%”>

Please or to participate in this conversation.