Ho fatto una semplice prova e mi dà quest' errore.
Fatal error: Cannot redeclare class html2fpdf in c:\apache\htdocs\carta\html2fpdf.php on line 65

Il codice che utilizzo è il seguente :
codice:
<? 
require('html2fpdf.php'); 
// activate Output-Buffer: 
ob_start(); 
//START-OF-PHP code 
?> 
PROVA XXXXXX 

<? 
// PHP code here 
//END-OF-PHP code 
// Output-Buffer in variable: 
$htmlbuffer=ob_get_contents(); 
// delete Output-Buffer : 
ob_end_clean(); 
require('html2fpdf.php'); 
$pdf=new HTML2FPDF(); 
$pdf->AddPage(); 
$pdf->WriteHTML($htmlbuffer); 
$pdf->Output(); //Outputs on browser screen 
?>
Qualcuno può aiutarmi please ???
Forse ho sbagliato l' installazione della classe ?