Well, first off all, what I'm taking about has nothing to do with COM object. Word will format HTML very nicely, keep it simple with only <br>, <p>, <b> tags. All you need to do is put this on top of your page, that is, before you send anyting to the client. header("Content-Type: application/vnd.ms-word"); Now the client knows that the data will be a word document. (built in HTML but we don't care) IE will open word if it is on the client pc, netscape will open a download box of a word document. I beleive you could built a more sophiticated solution using COM, but this as always work fine for me and my user's, especially since I hate word so much :) py At 09:18 PM 4/11/01 +0800, you wrote: >download dialog? > >what will be in that dialog box? > >And, I read a book saying that you can open a word document on the client >side and insert words in it. > > >----- Original Message ----- >From: Pierre-Yves Lemaire <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, 11 April, 2001 3:54 PM >Subject: Re: [PHP] Are calling COM applications a trojan? > > > > > > It can't. > > If you put the appropriate header type (ms-word in this case), IE will >open > > word. Netscape > > and other browser will open a download dialog box of the document. > > > > py > > > > > > At 04:57 PM 4/11/01 +0800, you wrote: > > >Then, how can it open a words document on the client side? > > > > > >----- Original Message ----- > > >From: Delbono <[EMAIL PROTECTED]> > > >To: Zeus <[EMAIL PROTECTED]> > > >Sent: Wednesday, 11 April, 2001 4:32 PM > > >Subject: Re: [PHP] Are calling COM applications a trojan? > > > > > > > > > > Com Apps, are not called on a client side. > > > > Actually, if you print out the version of the com application, it >displays > > > > the version of the software installed on the server, not the one on >the > > > > client. > > > > > > > > If I have Word2000 on m local PC and on the server I have Word97, > > > > > > > > a script taht prints App.Version, will print MSWord97. > > > > > > > > > > > > Sent: Wednesday, April 11, 2001 10:26 AM > > > > Subject: [PHP] Are calling COM applications a trojan? > > > > > > > > > > > > I'm sure many of you seasoned developers have used COM before (not > > >necessary > > > > with PHP) but if PHP is a server-side language, how can it call a >program > > >on > > > > the client to open. Isn't it as deadly as a hacker opening your >computer? > > > > > > > > Lets see some sides :) > > > > > > > > ------------------------------------------ > > > > David Chua aka. Zeus > > > > Founder, Frozened.com > > > > ------------------------------------------ > > > > > > > > > > > > > > > > > > > > >-- > > >PHP General Mailing List (http://www.php.net/) > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > >For additional commands, e-mail: [EMAIL PROTECTED] > > >To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > + ====================== > > + Pierre-Yves Lem@ire > > + E-MedHosting.com > > + (514) 729-8100 > > + [EMAIL PROTECTED] > > + ====================== > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] + ====================== + Pierre-Yves Lem@ire + E-MedHosting.com + (514) 729-8100 + [EMAIL PROTECTED] + ====================== -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]