PHP Classes

bunch of nothing

Recommend this page to a friend!

      HTML to PDF  >  All threads  >  bunch of nothing  >  (Un) Subscribe thread alerts  
Subject:bunch of nothing
Summary:When I run the test code, I get code
Messages:4
Author:thomas reddinger
Date:2006-08-27 12:24:35
Update:2006-08-29 03:50:15
 

  1. bunch of nothing   Reply   Report abuse  
Picture of thomas reddinger thomas reddinger - 2006-08-27 12:24:35
When I run the test code, I get a bunch of letters and numbers, and no pdf.

%PDF-1.2 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 ........

what am i doing wrong?

  2. Re: bunch of nothing   Reply   Report abuse  
Picture of Harish Chauhan Harish Chauhan - 2006-08-28 04:26:38 - In reply to message 1 from thomas reddinger
May be some thing is echoing before .

  3. Re: bunch of nothing   Reply   Report abuse  
Picture of thomas reddinger thomas reddinger - 2006-08-28 14:22:57 - In reply to message 1 from thomas reddinger
and what to do about that?

  4. Re: bunch of nothing   Reply   Report abuse  
Picture of Harish Chauhan Harish Chauhan - 2006-08-29 03:50:15 - In reply to message 3 from thomas reddinger
Check out some space or some character or some thing else is echoing before that. Remove that or just use buffering into PHP.
Use ob_start(); at the top of file.