求php生成 doc文档的类  及类 说明文档(最好的目前比效流行的那种)

解决方案 »

  1.   

    http://www.phpclasses.org/browse/file/11220.html 试试这个,以前用过
      

  2.   

    只需要修改扩展名为.doc就可以了吧!?
      

  3.   


    header("Content-Type: application/vnd.ms-word"); 
    header("Content-Disposition: attachment; filename=test.doc"); 
    header("Pragma: no-cache"); 
    header("Expires: 0");
    echo 'test test';
    这样就能生成word了,内容想怎么样就怎么样,自己还能了解自己的代码每一条都在干什么~~