Problem with DOMPDF and Kohana 3?

It's another one of those stupid things that make you look stupid I was echo'ing $html before trying to send the output to the browser, therefore corrupting my PDF by prepending the raw HTML to it.

It's another one of those stupid things that make you look stupid. I was echo'ing $html before trying to send the output to the browser, therefore corrupting my PDF by prepending the raw HTML to it.

I have used DOMPDF many times before successfully, however outside of the Kohana Framework. I created a module for DOMPDF and called it simply pdf. Here is it's code.

For some reason, any PDF I generate using this results in it being corrupt (not opening under Mac OS X's Preview app at least). Is this a known problem? I have not touched anything in dompdf_config.inc.

PHP is not reporting any errors. This forum thread also looks interesting.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions