PHP Classes

HTML to PDF

Recommend this page to a friend!

      HTML to PDF  >  All threads  >  HTML to PDF  >  (Un) Subscribe thread alerts  
Subject:HTML to PDF
Summary:html_to_pdf_test.php is not working. Creating a corrupt file
Messages:38
Author:Ranjan Goyal
Date:2006-04-19 07:42:17
Update:2010-12-08 11:10:05
 
  1 - 10   11 - 20   21 - 30   31 - 38  

  1. HTML to PDF   Reply   Report abuse  
Picture of Ranjan Goyal Ranjan Goyal - 2006-04-19 07:42:17
Hi,

Initially html_to_pdf_test.php was working very fine.

Even my code was also working and I was able to generate required PHP. But now pdf is not getting generated. Not even "html_to_pdf_test.php" is giving required result.

It opens the Acrobat reader and a message displays that tells that either this is not supported file type or file has got corrupted.

Thanks,
Ranjan

  2. Re: HTML to PDF   Reply   Report abuse  
Picture of Harish Chauhan Harish Chauhan - 2006-04-19 09:51:01 - In reply to message 1 from Ranjan Goyal
Download the corrected Class File to overcome on this problem.

  3. Re: HTML to PDF   Reply   Report abuse  
Picture of Ranjan Goyal Ranjan Goyal - 2006-04-19 10:10:59 - In reply to message 2 from Harish Chauhan
Thanks Harish,

Great Stuff.

Thanks,
Ranjan

  4. Re: HTML to PDF   Reply   Report abuse  
Picture of Javier Javier - 2006-04-28 06:33:44 - In reply to message 3 from Ranjan Goyal
Is it wrong?

It opens the Acrobat reader and a message displays that tells that either this is not supported file type or file has got corrupted.


  5. Re: HTML to PDF   Reply   Report abuse  
Picture of BEGHIN BEGHIN - 2006-05-10 12:38:31 - In reply to message 1 from Ranjan Goyal
Hello,

"It opens the Acrobat reader and a message displays that tells that either this is not supported file type or file has got corrupted."

>> I have got the same problem.

"Download the corrected Class File to overcome on this problem."

>> I have downloaded two times all the files which are provided (the ZIP file, and separately, the two PHP files), but unfortunately, with no result.

>> The corrected files are in an other place ? Somebody can help me ?

Thanks.

  6. Re: HTML to PDF   Reply   Report abuse  
Picture of Dupuis Damien Dupuis Damien - 2006-05-21 17:23:47 - In reply to message 5 from BEGHIN
Hello , i have the same problem !!

Solution ?

  7. Re: HTML to PDF   Reply   Report abuse  
Picture of Harish Chauhan Harish Chauhan - 2006-05-22 04:41:01 - In reply to message 6 from Dupuis Damien
I have downloaded the class files from phpclasses.org and it works for me fine.
I have tested it on both PHP4 and PHP 5 and works well.

PDF is opening with acrobat 5 or upper fine.

Download the new files. Hope it will work for you.

  8. Re: HTML to PDF   Reply   Report abuse  
Picture of H H - 2006-06-27 09:34:12 - In reply to message 7 from Harish Chauhan
Dear all.
My email is duonghoang911@yahooc.com.

Please send me the code which you downloaded.

Many thanks

  9. Re: HTML to PDF   Reply   Report abuse  
Picture of samina shabbir samina shabbir - 2006-06-28 19:01:33 - In reply to message 8 from H
I m also getting same problem of PDF file curruption...Plzz send code to me also which u downloaded...

samina_smbs@hotmail.com,sshabbir@acrologix.com

Thx alot in advance.....

  10. Re: HTML to PDF   Reply   Report abuse  
Picture of Mauricio Mauricio - 2006-07-03 21:38:12 - In reply to message 9 from samina shabbir
I have the same error:

Notice: Undefined variable: s_POST_DATA in C:\h2p\html_to_pdf.inc.php on line 88

Notice: Undefined offset: 2 in C:\h2p\html_to_pdf.inc.php on line 183

Notice: Undefined offset: 2 in C:\h2p\html_to_pdf.inc.php on line 183
43 0 obj << /E 436865 /H [ 2251 319 ] /L 439197 /Linearized 1 /N 1 /O 46 /T 438286 >> endobj xref 43 72 0000000012 00000 n 0000002069 00000 n 0000002251 00000 n 0000002571 00000 n 0000003671 00000 n 0000003779 00000 n 0000003892 00000 n 0000004071 00000 n 0000005523 00000 n 0000005768 00000 n 0000006015 00000 n 0000006262 00000 n 0000006511 00000 n 0000006755 00000 n 0000007009 00000 n 0000007264 00000 n 0000007500 00000 n 0000007736 00000 n 0000007971 00000 n 0000008205 00000 n 0000008460 00000 n 0000008697 00000 n 0000008959 00000 n 0000009211 00000 n 0000009448 00000 n 0000009685 00000 n 0000009927 00000 n 0000010161 00000 n 0000010396 00000 n 0000010631 00000 n 0000010882 00000 n 0000011135 00000 n 0000011370 00000 n 0000012330 00000 n 0000012606 00000 n 0000012949 00000 n 000001323

and then a whole bunch of more text.

 
  1 - 10   11 - 20   21 - 30   31 - 38