spipu / html2pdf

OFFICIAL PROJECT | HTML to PDF converter written in PHP
http://html2pdf.fr/en/default
Open Software License 3.0
1.68k stars 750 forks source link

Is there a way to use a html file #492

Open RSNFreud opened 5 years ago

RSNFreud commented 5 years ago

Is there a way to use an html file as the content? so don't have to paste in the whole html content inside the page.

LittleBigFox commented 5 years ago

Hi!

Yes you can, you have to use a file_get_content :)

Regards, LBF