News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

JSLabs Blog:
How to create Microsoft Office Documents with PHP
July 02, 2007 @ 12:02:00

From the JSLabs blog today, there's a quick illustration of how to dynamically create three different types of Microsoft Office files - a Word document, Powerpoint and an Excel file.

There are two main ways to build Excel, Word, and PowerPoint documents using PHP. The first is by using the COM library (only if you are using a Windows server) and the other is by using a more standardized approach such as HTML or CSV.

All three examples use the COM method and make basic structures to save out. They also include a screenshot (and description) showing where you can find the list of functions you can call to the COM object for each application.

1 comment voice your opinion now!
microsoftoffice document excel powerpoint word com object microsoftoffice document excel powerpoint word com object


blog comments powered by Disqus

Similar Posts

DevShed: Utilizing Private Methods with PHP 5 and Member Visibility

Jani Hartikainen's Blog: Using models as criteria objects for querying the database

PHPBuilder.com: Remote objects and Zend_Amf

Ivo Jansch's Blog: Validating OCL constraints in PHP objects

php|architect: PHPDOCX: generating Word documents from PHP


Community Events





Don't see your event here?
Let us know!


library mvc opinion update release series community symfony language laravel package composer version introduction interview security podcast voicesoftheelephpant tool framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework