Hi,
I am trying to work out how to create a PDF on the fly...write it to a buffer....then email this as an attachment. I don't want to write the file to disk, only deliver it live as an email attachment.
The application is a catalog site where by users can select an item...and have a PDF of specs emailed to them on request. These specs I want emails live from a generated PDF buffer..not from disk.
I am thinking that I will need to write the PDF buffer first. Then print this data to the PHP buffer.
Using things like:
ob_start();
$document = pdf_get_buffer($pdf);
etc...
I dunno... any ideas on how to implement this?
Thanks,
Jantz