Salut,
j ai essaye d utiliser le html2pdf version html2pdf_v4.01_php5 sous IIS 5.1 et php version php-5.3.6-Win32-VC9-x86. j'étais entrain de tester les exemples, et par hasard j ai teste l'exemple billet en modifiant pour sauvegarder le pdf sous un répertoire sur mon serveur. le changement que j ai fait est le suivant:
<?php
$content = ob_get_clean();
// conversion HTML => PDF
require_once(dirname(__FILE__).'/../html2pdf.class.php');
try
{
$html2pdf = new HTML2PDF('P','A4','fr', false, 'ISO-8859-15', 0);
$html2pdf->pdf->SetDisplayMode('fullpage');
$html2pdf->writeHTML($content, isset($_GET['vuehtml']));
$html2pdf->Output('Outputpdf/billet.pdf', 'F');
}
catch(HTML2PDF_exception $e) { echo $e; }
?>
A chaque fois j obtiens l erreur suivante:
TCPDF ERROR: Unable to create output file: Outputpdf/billet.pdfor '2.0/DST' instead in C:\Inetpub\wwwroot\html2pdf\_tcpdf\tcpdf.php on line 8160 PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\wwwroot\html2pdf\_tcpdf\tcpdf.php on line 8160 PHP Warning: fopen(Outputpdf/billet.pdf): failed to open stream: Permission denied in C:\Inetpub\wwwroot\html2pdf\_tcpdf\tcpdf.php on line 6168
Ou est l erreur?