Re: [PHP] load word document with php

2004-11-30 Thread Richard Davey
Hello Thomas, Tuesday, November 30, 2004, 1:35:10 PM, you wrote: TF> $word=new COM("word.application") or die("Cannot start word for you"); TF>$word->visible = 1 ; TF>$word->Documents->Open("Test.doc"); TF>$word->Selection->TypeText("Hello World"); TF>$word->Documents[1]->Save

Re: [PHP] load word document with php

2004-11-30 Thread Jason Wong
On Tuesday 30 November 2004 21:35, Thomas Franz wrote: > i hope this is the right newsgroup. > I start working with php. Now, i want loading worddocuments into the with > php, change/add some text and save this changes. I found following simple > example. > > $word=new COM("word.application")

[PHP] load word document with php

2004-11-30 Thread Thomas Franz
Hello, i hope this is the right newsgroup. I start working with php. Now, i want loading worddocuments into the with php, change/add some text and save this changes. I found following simple example. visible = 1 ; $word->Documents->Open("Test.doc"); $word->Selection->TypeText("Hello World"