By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,384 Members | 927 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,384 IT Pros & Developers. It's quick & easy.

Need help with HTML2PDF

P: 1
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) -->

form.php -->

(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!!
Apr 4 '12 #1
Share this Question
Share on Google+
1 Reply

P: 1,059
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

Expand|Select|Wrap|Line Numbers
  1. $html2pdf->Output('your_new_directory/exemple03.pdf');
and now try
Apr 5 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.