Can anyone help??
i want to make a page that dynamicaly creates a word document, but i want to be able to insert images into it so that when it dynamicaly makes its self from that days data, there is an image at the top of the page, like a company logo or something.
has anyone got any ideas how to do this, i think i have just managed to pick apart a piece of code from someone else that inserts txt into the the page and makes one, but this may not be done correctly. here is the code.
<?php
$file_type = "msword";
$file_ending = "doc";
header("Content-Type: application/$file_type");
header("Content-Disposition: attachment; filename=Hello_world.$file_ending");
header("Pragma: no-cache");
header("Expires: 0");
echo("Hello world\n\n");
?>
any ideas??