ksamir2004
May 9th 2008, 12:42 am
Hi all,
i want to create word document in server and save it to in server..
i got script but this script create word document in client machine..
Can any one help me to write this script.
<?php
header('Content-type: application/msword');
header('Content-Disposition: attachment; filename="download.doc"');
readfile('thefilename of the doc');
?>
i want to create word document in server and save it to in server..
i got script but this script create word document in client machine..
Can any one help me to write this script.
<?php
header('Content-type: application/msword');
header('Content-Disposition: attachment; filename="download.doc"');
readfile('thefilename of the doc');
?>