Re: Edit with notepad

From: Date: Tue, 11 May 2004 12:56:02 +0000
Subject: Re: Edit with notepad
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-34360@lists.php.net to get a copy of this message
Why not just provide them with two different links to the document-- one version includes the tag, the other doesn't. -Mike Forbes Ng Hwee Hwee wrote:
hi, header("Content-type: application/vnd-ms.word"); is not what my customers want. They may or may not want to save it in their harddisk.. but having the header at the beginning of my page will force them to save it in their harddisk. Some of the customers just want to view it on the web while others want to view it in Word and possibly edit it and then save it.. how can i achieve such flexibility for them? thank you!! regards, hwee ----- Original Message ----- From: "Neil Smith [MVP, Digital media]" <php@comatose.freeserve.co.uk> To: <php-db@lists.php.net> Cc: <hhwee@towa.com.sg> Sent: Tuesday, May 11, 2004 2:25 AM Subject: [PHP-DB] Re: Subject: Edit with notepad
Send before any content, an MS-Word header : header("Content-type: application/vnd-ms.word"); Then output your HTML. Cheers - Neil. At 07:41 10/05/2004 +0000, you wrote:
Message-ID: <00d501c43662$13c6d830$620a10ac@hweehwee> From: "Ng Hwee Hwee" <hhwee@towa.com.sg> To: "DBList" <php-db@lists.php.net> Date: Mon, 10 May 2004 15:40:27 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00D2_01C436A5.1E3B4100" Subject: Edit with notepad Hi My customers would like to save my php outputs in a word document file
and
so I have added a meta tag <META NAME="ProgID" CONTENT="word.document">
in
my php files. However, my File->Edit button in IE6 is greyed out. why? i see that other php files on other websites allow Edit, why is it that my programs don't allow it?? thanx for any insights!! regards, Hwee Hwee


« previous php.db (#34360) next »