When I start my php script
<?php
require 'html2pdf.php';
try {
$pdf = new HTML2PDF('*********');
$pdf->CreateFromHTML('preview.html'); // Convert raw HTML to PDF
$pdf->Save('/files/yourfile.pdf');
} catch (Exception $error) {
// now you can handle the exception:
echo $error->getMessage();
echo $error->getCode();
}
It gives an error with this text "Access error - your system's web user can not write to C:\Windows\TEMP940" What I need to do?