You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There does not seem to be any if statement for $_GET['save_file'] to deal
with the save_file and set it to true. It gets set to false when the $_GET
['base_path'] is set. This means that even if you send the save_file
variable to the dompdf script it is ignored. I have added it to my script
because I want to save the pdf in a tmp file and then attach it to an
email through php.
From fabien.menager on July 27, 2010 20:12:18
We now recommend using the DOMPDF class directly. Please open a new issue if this is still a blocking feature for you. DOMPDF 0.6 doesn't have a save_file or out_file parameter, I guess this is beacause it was a security hole.
Original author: andrew.s...@sadlerenergy.co.uk (July 30, 2009 12:10:37)
There does not seem to be any if statement for $_GET['save_file'] to deal
with the save_file and set it to true. It gets set to false when the $_GET
['base_path'] is set. This means that even if you send the save_file
variable to the dompdf script it is ignored. I have added it to my script
because I want to save the pdf in a tmp file and then attach it to an
email through php.
$url = "dompdf.php?input_file=" . rawurlencode
($tmpfile) . "&paper=letter&output_file=" . rawurlencode("My Fancy
PDF.pdf") . "&save_file=true&base_path=D:\website\dompdf-0.5.1\tmp";
Original issue: http://code.google.com/p/dompdf/issues/detail?id=47
The text was updated successfully, but these errors were encountered: