272Fermer274
whirlwindLe 23/08/2008 à 11:01
Spipu (./267) :
./263 => l'objet HTML2PDF, tu l'as bien appelé $html2pdf ?

les lignes suivantes, tu les as bien mises juste avant le output ?
whirlwind (./263) :
$html2pdf->pdf->SetAuthor('***');
$html2pdf->pdf->SetTitle('***');
$html2pdf->pdf->SetSubject('***'); $html2pdf->pdf->SetCreator('***');



j'ai ce code trs exactement:
$content = ob_get_clean();
require_once('../html2pdf/html2pdf.class.php');
$pdf = new HTML2PDF('P','A4');
$pdf->WriteHTML($content, isset($_GET['vuehtml']));
$html2pdf->pdf->SetAuthor('xxxxxx');
$html2pdf->pdf->SetTitle('xxxxxx');
$html2pdf->pdf->SetSubject('xxxxxx);
$html2pdf->pdf->SetCreator('xxxxxx');$pdf->Output();


but still not work sad

(Fatal error: Call to a member function on a non-object in c:\users\richard\desktop\vv\catalogue\catalogue_dvd_pdf.php on line 18)
ps: ligne 18 c'est l'auteur