Re: Edit with notepad

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxxx>
To: <php-db@xxxxxxxxxxxxx>
Cc: <hhwee@xxxxxxxxxxx>
Sent: Tuesday, May 11, 2004 2:25 AM
Subject:  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@xxxxxxxxxxx>
> >To: "DBList" <php-db@xxxxxxxxxxxxx>
> >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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux