Hey, you are aware that the dompdf standalone script has a security vulnerability ?
apart from that - maybe try tcpdf ? it works for me without problems greets, On Mon, Jun 30, 2008 at 12:02 PM, RichardAtHome <[EMAIL PROTECTED]> wrote: > > Hi > > I was the author of that blog article. Thanks for reading :-) > > I've been meaning to get back and update it as I eventually ran into > some problems with it later in the project (works fine on Windows, > fails on Linux - didn't have enough time to work out why). > > In the end. I installed the stand alone dompdf script in the web root > and then pass the URL of the page to render to the dompdf script. > > On Jun 29, 9:22 am, roby <[EMAIL PROTECTED]> wrote: >> Hi, everyone. I've a question about dompdf. Maybe one of you ever have >> the same problem like me and would like to share the solution. >> >> I want to generate a PDF file but unfortunately, it seems didn't work >> at all in my cake project. I've searched the internet and found this >> link:http://blog.futurate.com/2008/02/getting-dompdf-working-inside-cakeph... >> and I still not getting it along. >> >> I've extracted the dompdf library to app/vendors and make a function >> in controller, so it looks like this: >> >> function test() >> { >> $htm = "<html>"; >> $htm .= "<head><title>Test</title></head>"; >> $htm .= "<body><h1>Sample</h1></body>"; >> $htm .= "</html>"; >> $dompdf = new DOMPDF(); >> $dompdf->load_html( $htm ); >> $dompdf->render(); >> $dompdf->stream( "sample.pdf" ); >> print_r( $dompdf ); >> } >> >> Anyone can help me? Thanks in advance. > > > -- Marcin Domanski http://kabturek.info --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
