1

Hi,

at first nice Project.
I try to use this cool script but it doesn´t work:

PHP Version 5.2.12



http://www.des-solutions.de/pdfconvert/exemples/exemple00.php

code:

// récupération du contenu HTML
ob_start();
include(dirname(__FILE__).'/res/exemple00.php');
$content = ob_get_clean();

// conversion HTML => PDF
require_once(dirname(__FILE__).'/../html2pdf.class.php');
try
{
$html2pdf = new HTML2PDF('P','A4','de', false, 'iso-8859-1');
// $html2pdf->setModeDebug();
$html2pdf->setDefaultFont('Arial');
$html2pdf->writeHTML($content, isset($_GET['vuehtml']));
$html2pdf->Output('exemple00.pdf');
}
catch(HTML2PDF_exception $e) { echo $e; }



TCPDF ERROR: Can't open image file:

When i delete all image tags in the testfile it works but the site ouput ist not a PDF,

some signs and numbers so i think something is wrong with the header.

Have i to install or configurate the script before use? I don´t find a installation description in readme.txt

Thankyou for helping me smile
Greeting Tom

2

mhhh ok i try the same script @ a other Webspace (managed server) there it works so something with the server configuration i think