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.









¸´·½ºì¶¹É¼ ÕäÏ㽺ÄÒ ¿¹°©Æ½Íè ½ð¸´¿µ¿Ú·þÒº ½ð¸´¿µ Çå·ÎÉ¢½áÍè Çå·ÎÉ¢½á ¸´·½Â¹ÏÉ²Ý ¸´Éú¿µ½ºÄÒ °²¿µÐÀ½ºÄÒ ¸´Éú¿µ °²¿µÐÀ ʳµÀƽɢ Èí¼á¿Ú·þÒº ´Èµ¤½ºÄÒ ²Îµ¤É¢½á ²Îµ¤É¢½á½ºÄÒ Ïû°©Æ½Æ¬ ÐÀ¿µ°¬½ºÄÒ ëûÖ¢Íè ½ðÁú½ºÄÒ ó¸ÎڰͲ¼¸à Î÷»ÆÍè Ñ»µ¨×ÓÓͿڷþÈéÒº ²ÎÒ»½ºÄÒ °²¿µ°²ÁöÈé ΢´ï¿µ¿ÅÁ£ ×ÏÁú½ðƬ °¢Îº»¯Æ¦¸à ¿µÀ³ÌØ×¢ÉäÒº ÑÒÊæ×¢ÉäÒº ²Îó¸Ïû½½ºÄÒ »ªó¸ËØÆ¬ Ò×Èðɳ Ï£ÂÞ´ï ÈÕ´ïÏÉ ¿ªÆÕÍØ Á¦¶û·² °¬ºã ²©ÄþÕë °ïÀ³ ½¡Ôñ Ì©Ë÷µÛ ¸Çŵ ŵÀ׵à ¿¨ÄªË¾Í¡ °¬ËØ °¬±¾ Ôó·Æ Ì©ÆÕÉú Å·±´ °¬Á¦ Èü¸ñ¶÷ ·½¿Ë ¶àÅÁ·Æ °¬Ò×Êæ °¬ÈðÄþ ÌìµØÐÀ ·¨ÂêР¼ªÁ£·Ò Âõ¸ñ¶û
chinaÀäÔÆ »ÃÏë¿Õ¼ä ´«ËµÖÐDeÌìÑÄ ÀäºüµÄÃÎ À¶À¶µÄÌì ÎÏÅ£ºÍÎÚ¹ê ÓêÖзÉÏè ÓêÖзÉÏè ÓêÖзÉÏèµÄBLOG °©Ö¢Ö×Áö ¼ÒÍ¥½¨¿µ pallyboy ÎҵĿìÀÖ Î¸°©µÄ²©¿Í ÏíÊÜÉú»î ÐÄÇ鲩¿Í ÃÀÃγÉÕæ ż²¡´óÁË ·Î°©ÈË ÕæÐİ®ÈË ¼²²¡·Î°© ly1980µÄ²©¿Í ¶¹¶¹ ¿ªÐÄÈË ºÙºÙ ly1980µÄBLOG