Updated: 06/09/2008

Create Excel, Word and other files from PHP

A small but effective utility module that can create .xls .xlr .doc .txt .ppt .rtf and .csv files. You just pass the data and a filename. It can also capture print output (from echo statements) and send that to a file. A demo module is included to show how to create the data for the various file types. The most effective way is to provide html to Word or Excel. This has been tested on a Linux server with a Windows desktop system. It may work with a Mac ot Linux desktop but you'll have to try it (let me know). It's pretty easy to modify so you can make additions if necessary.