php生成excel的类除了PHPExcel之外还有那些,望各位大姐大哥帮帮忙
解决方案 »
- 请问PHP 打印PDF 一个table 一张纸 ? 怎么弄?
- 求高手看一段函数 我很诧异 为什么 不能执行
- 关于WIN7下面安装WAMP包后本地打不开,IIS冲突?
- 处理字符串
- 紧急求助DOM显示XML文件的问题
- php关联数组问题
- 【Qihoo招聘】奇虎创业团队寻找工程师!
- 出现这个错误:Warning: mysql_connect(): Client does not support authentication protocol requested by server
- 那位兄弟帮我看看我的源程序错在哪里?
- php新手咨询几个问题
- phpexcel
- java 调用 php webserver
<? 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文件提示下载
但是好像这样的文本不规范 点保存会提示
http://www.php.net/manual/en/book.com.php
如果你是想产生 excel 文件下载,就在输出页面前加上
header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:filename=test.xls");