php生成excel的类除了PHPExcel之外还有那些,望各位大姐大哥帮帮忙

解决方案 »

  1.   


    <?       header("Content-type:application/vnd.ms-excel");       header("Content-Disposition:filename=test.xls");       echo "test1";       echo "test2";       echo "test1";       echo "test2";       echo "test1";       echo "test2";       echo "test1";       echo "test2";       echo "test1";       echo "test2";       echo "test1";       echo "test2";?>可以用header头让浏览器识别excel文件提示下载 
    但是好像这样的文本不规范  点保存会提示
      

  2.   

    请参看手册
    http://www.php.net/manual/en/book.com.php
      

  3.   

    php 生成 excel 的最简单的方法就是直接使用 html 语言如果你是想直接产生 excel 文件,那么就把程序返回的 html 文档保存为 xls 后缀的文件
    如果你是想产生 excel 文件下载,就在输出页面前加上
    header("Content-type:application/vnd.ms-excel");
    header("Content-Disposition:filename=test.xls");
      

  4.   

    那种方法生成的Excel不是本质上的Excel