27;Content-Type: application/msword');
header("Content-Disposition: attachment; filename=PurchaseReq.doc");
-Original Message-
From: Richard Quadling [mailto:rquadl...@googlemail.com]
Sent: Saturday, 27 February 2010 8:45 PM
To: Nick allan
Cc: php-general@lists.php.net
Subject: Re
Hi all
Has anyone got any ideas why the following isn't giving me correct filename
in the ie save dialogue
header('Content-Type: application/msword');
header('Content-Disposition: attachment; filename="PurchaseReq.doc"');
I get the save dialogue, but with preq.doc instead of PurchaseReq.doc
Hi all
The situation is as follows
I've read some data in from a couple of files into a string variable, made
some changes to it and want to send the contents of the string out to the
browser as a word document.
My code currently looks like the following
header('Content-Type: application/msword
3 matches
Mail list logo