Click to See Complete Forum and Search --> : create word doc?


LiLcRaZyFuZzY
02-07-2005, 07:26 AM
hi, im wondering, is there a way to create word docs without the COM functions?

ShrineDesigns
02-07-2005, 09:57 AM
word documents are nothing more than html files with lots and lots of junk in them (binary data for formatting or something)

LiLcRaZyFuZzY
02-07-2005, 01:17 PM
well..i tried to read a word file with a plain text editor, and it came out with a lot of weird characters, then i tried to echo them out in a php file...didnt work

but im thinking, thats not the way it should be done, cuz i dont want it to appear in an html file, i actually need to creat a file and write that into it...im gonna try that on the spot!

NogDog
02-07-2005, 01:24 PM
Have you taken a look at this article (http://www.phpbuilder.com/columns/yunus20031124.php3)? If you can use this approach of using a .doc tempalte, maybe it's for you.

LiLcRaZyFuZzY
02-07-2005, 01:31 PM
yeah, i tried, but this example is using COM functions, and i dunno why im having issues with them...like windows errors etc...or file missing...so i asked for a method not using COM functions

NogDog
02-07-2005, 01:50 PM
Originally posted by LiLcRaZyFuZzY
yeah, i tried, but this example is using COM functions, and i dunno why im having issues with them...like windows errors etc...or file missing...so i asked for a method not using COM functions
Sorry, I just skimmed the article and didn't notice any mention of COM usage. :(