title: FPDF error: Some data has already been output, can't send PDF file on 000webhost
body: <p>I am using FPDF class to generate a pdf on my website. Everything worked well until last few weeks when I started getting error:</p>
  
  <pre><code>﻿FPDF error: Some data has already been output, can't send PDF file
  </code></pre>
  
  <p>During last few weeks haven't change anything in my code and I have also checked for any output execpt the fpdf (including unecessary space before php, disabled BOM signature etc.)</p>
  
  <p>I have my website on 000webhost.com so I have also disabled the analytic code at the end of the page, but the pdf still doesn't work. The only trace I have left is misterious "" in a source code (I can see it when checking source code in Chrome browser).</p>
  
  <p>I cant get to work even this simple example:</p>
  
  <pre><code>&lt;?php
  require('fpdf.php');
  $pdf = new FPDF();
  $pdf-&gt;AddPage()
  $pdf-&gt;SetFont('Arial','B',16);
  $pdf-&gt;Cell(40,10,'Hello World!');
  $pdf-&gt;Output();
  ?&gt;
  </code></pre>
  
  <p>Is there a way to disable any other output on web page by php? or does someone use fpdf on 000webhost?</p>