Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using com to create word documents

Status
Not open for further replies.

dingleberry

Programmer
Dec 13, 2002
143
US
Hi,

I am running (get this) apache for win32 on my computer and php is installed as a module. I'm really trying to get this thing to create a formatted word document using the variables I'm populated with my php code. Is this possible? I keep reading about how it is with com, but I don't see any helpful tutorials anywhere including php.net that point me in the right direction. I'm not even sure I have the capability to do it? I went to php.ini, and uncommented

com.allow_dcom "0"
com.autoregister_typelib "0"
com.autoregister_verbose "0" com.autoregister_casesensitive "1"
com.typelib_file "c:/program files/apache group/apache/htdocs"

but that's as far as I am right now. Can anyone out there offer some helpful advice on how to get this working, and then also just a simple output to a formatted word document snippet in php using some variable?

Thanks,
Dan

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top