Search found 3 matches

by popper
Thu Nov 18, 2004 8:35 am
Forum: PHP - Code
Topic: Generate MSword DOC
Replies: 4
Views: 427

this is a test code, only to try if ms doc generation works. In "final version" ill'put some synchronization, doc's file name probably will be determinated by unique mysql's table key.
by popper
Thu Nov 18, 2004 4:21 am
Forum: PHP - Code
Topic: Generate MSword DOC
Replies: 4
Views: 427

10x man, i've searched only in the site :oops:. now it work, i've used this code ?php // Word execution $word = new COM("word.application") or die("Non sono riuscito ad eseguire Word"); $word->Visible = 1; //open empty doc $word->Documents->Add(); //text operations $word->Selecti...
by popper
Thu Nov 18, 2004 3:02 am
Forum: PHP - Code
Topic: Generate MSword DOC
Replies: 4
Views: 427

Generate MSword DOC

Hello everybody how can i generate ms doc files using php? (version doesnt matter) i 've tried the following code: header("Content-type: application/msword"); header('Content-Disposition: attachment; filename="my.doc";'); echo "Helloooooooooooooooooo"; But it doesn't wo...