Recommend this page to a friend! |
All requests | > | Create MS .doc files | > | Request new recommendation | > | Featured requests | > | No recommendations |
by Bob Wedwick - 8 years ago (2015-06-12)
+13 | The file is normally just one page with some graphics and variations for type fonts. |
+1 | by Manuel Lemos 23325 - 8 years ago (2015-06-15) Comment This class can create Microsoft Word documents in DOCX (XML) format. It allows you to include document parts dynamically defining them as HTML. |
1. by ibrahim bouziane - 7 years ago (2016-04-25) Reply
is it possible to download docx file instead of saving it
2. by Manuel Lemos - 7 years ago (2016-05-03) in reply to comment 1 by ibrahim bouziane Reply
Maybe it is possible with minor changes or you can just serve the file for download.
In any case you can ask the author in the package support forum.
3. by aleksanm - 7 years ago (2016-06-09) in reply to comment 1 by ibrahim bouziane Reply
<?php $file = 'monkey.gif';
if (file_exists($file)) {
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="'.basename($file).'"');
header('Expires: 0');
header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($file));
readfile($file);
exit;
} ?>
Recommend package | |
|