|
Some things about using convertfile function October 19, 2010 07:03AM |
Registered: 2 years ago Posts: 5 |
//... other parameters and class correctly working
$client->enableImages(TRUE); // necesary??
try
{
//html working:
// header("Content-type: application/pdf");
// header("Content-Disposition: attachment; filename="impresion.pdf"");
// echo $client->convertHtml($html);
//convertFile
$client->convertFile("C:/wamp/www/srvf/pdf.html", fopen("file.pdf", "wb"));
//opening this html file on navigator shows as expected, imges, styles... but It builds pdf in the same path without images
}
|
Re: Some things about using convertfile function October 19, 2010 07:37AM |
Admin Registered: 3 years ago Posts: 611 |
<img src="http://yourdomain.com/your-image.gif">
<img src="your-image.gif">
|
Re: Some things about using convertfile function October 19, 2010 07:41AM |
Registered: 2 years ago Posts: 5 |