Jeckky / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Regarding saving the generated pdf into a hardisk location #463

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After convering the html into pdf , it throws to the browser but when i give 
the path to save in the hardisk it's not working.

Original issue reported on code.google.com by krajshek...@gmail.com on 12 Apr 2012 at 9:56

GoogleCodeExporter commented 8 years ago
Not sure I follow. Can you post just the lines of code related to dompdf?

To save to the server's disk you should do something similar to the following:
  file_put_contents('/path/to/document.pdf', $dompdf->output());

Original comment by eclecticgeek on 12 Apr 2012 at 5:49

GoogleCodeExporter commented 8 years ago
thank u

Original comment by krajshek...@gmail.com on 13 Apr 2012 at 4:59

GoogleCodeExporter commented 8 years ago
Can u generate a pdf for the attached html file. Because it takes a long time 
to process and doesnt generate the pdf.

Original comment by krajshek...@gmail.com on 13 Apr 2012 at 7:16

GoogleCodeExporter commented 8 years ago
As I said in the other issue, please post on the Google Groups 
:http://groups.google.com/group/dompdf

Original comment by fabien.menager on 13 Apr 2012 at 9:52

GoogleCodeExporter commented 8 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16