Re: Send out correct headers for word document

From: Date: Thu, 11 Oct 2001 07:51:41 +0000
Subject: Re: Send out correct headers for word document
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-70763@lists.php.net to get a copy of this message
FYI, There is a typo in the MS stuff for attachments: header( "Content-type: application/msword" ); header( "Content-Disposition: atachment; filename=cv-984.doc" ); header( "Content-Description: Word CV Document" ); readfile ($tmp); notice the single t instead of 2 t's in atachment. That was what was wrong. Works like a charm now :) Thanks for all your help! Nic "Nic Skitt" <nic@nicskitt.co.uk> wrote in message news:20011010131615.78485.qmail@pb1.pair.com... > BTW I have just revised the application name after checking the headers of a > genuine word doc loaded via a browser and it is msword not ms-word. Still no > effect :( > >

« previous php.general (#70763) next »