Need help with HTML2PDF

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scooby3d
    New Member
    • Apr 2012
    • 1

    Need help with HTML2PDF

    For some reason the HTML2PDF/TCPDF is not rendering the PDF... and I have no idea why... :S

    render.php (the file to be accessed) --> http://pastebin.com/6FEqd9Vf

    form.php --> http://pastebin.com/7y1ed8Y0

    (The links will lead you to the code im trying to use, so you can test it, you will only need the HTML2PDF Class)

    can somebody tell me why the form isn't rendering??? I'm freaking out!!!

    thanx in advance!!
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    no, we cannot tell why not. do one thing. make sure you are creating the file at least.

    how would you know if you have created the file?
    I believe the path you choose or in the same directory where the php file is.

    if this is the case i would suggest you to do few steps

    1. Create a directory with the proper permission. (if the server you are using is linux). for first time allow the directory in such a way so that everyone can at least write but not execute.

    2. and edit this path like this

    Code:
    $html2pdf->Output('your_new_directory/exemple03.pdf');
    and now try

    Comment

    Working...