You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dompdf
How do I name a specific file?
Also I want to store the generated PDF in the webserver instead of downloading it. How do i do that?
BrianS
unread,
Apr 11, 2017, 6:21:16 PM4/11/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dompdf
If you're streaming the file you just specify the name when you stream.
$dompdf->stream('render.pdf');
If you want to save the file to your server you use the output method to capture the PDF source into a variable. You can then place the file on your server using standard PHP file writing method.