kandarpmistry
New member
Dear Sirs,
I want to know if we can use the following http headers to generate word and excel files in Exeoutput for php:
1.header(“Content-type: application/vnd.ms-word”);
header(“Content-Disposition: attachment;Filename=document_name.doc”);
2.header(“Content-type: application/vnd.ms-excel”);
header(“Content-Disposition: attachment;Filename=document_name.xls”);
If not, what is the alternate method, if any, in exeoutput for php.
Awaiting your kind reply,
Regards,
Kandarp Mistry
I want to know if we can use the following http headers to generate word and excel files in Exeoutput for php:
1.header(“Content-type: application/vnd.ms-word”);
header(“Content-Disposition: attachment;Filename=document_name.doc”);
2.header(“Content-type: application/vnd.ms-excel”);
header(“Content-Disposition: attachment;Filename=document_name.xls”);
If not, what is the alternate method, if any, in exeoutput for php.
Awaiting your kind reply,
Regards,
Kandarp Mistry
Last edited: