两个开源的Php输出Excel文件类

yipeiwu_com6年前PHP代码库

1.php-excel

php-excel is a very simple library for generating excel documents from php on-the-fly.

http://code.google.com/p/php-excel/
【宜配屋www.yipeiwu.com】下载
https://www.jb51.net/codes/24319.html
2.PHPExcel

Project providing a set of classes for the PHP programming language, which allow you to write to and read from different file formats, like Excel 2007, PDF, HTML, ... This project is built around Microsoft's OpenXML standard and PHP.

http://www.codeplex.com/PHPExcel/ 

【宜配屋www.yipeiwu.com】下载
https://www.jb51.net/codes/24320.html

相关文章

使用PHP获取网络文件的实现代码

复制代码 代码如下:<?php //设置我们将要使用的文件 $srcurl = "http://localhost/index.php"; $tempfilename = "tem...

基于magic_quotes_gpc与magic_quotes_runtime的区别与使用介绍

当你的数据中有一些   \  ”  ‘ 这样的字符要写入到数据库里面,又想不被过滤掉的时候,它就很有用,会在这些字符前自动加上\,如中国\地大物博...

逐步提升php框架的性能

一、当前框架存在什么问题      目前主流的框架Zend Framework、Cakephp等都采用了MVC模式,同时实现了...

php文件管理基本功能简单操作

php文件管理基本功能简单操作

(1)先要想好要操作哪个文件? (2)确定文件的路径? (3)要有什么文件管理功能? 一、先做一下简单的查看文件功能,文件中的文件和文件夹都显示,但是双击文件夹可以显示下一级子目录,双击...

PHP数据集构建JSON格式及新数组的方法

自己写了个PHP结果集转换成JSON格式的函数,可以直接调用:复制代码 代码如下:function RecordToJson($recordset) { $jstr='['; while...