易截截图软件、单文件、免安装、纯绿色、仅160KB

PHP生成EXCEL,可区分数值与字符串

这是个在别人的基础上做修改的代码,添加了 判断单元格值是否为数值,是的话,将该单元格的类型转成 Number,避免生产的EXCEL中没法进行数值的加减。。。
<?php
/**
* Simple excel generating from PHP5
*
* This is one of my utility-classes.
*
* The MIT License
*
* Copyright (c) 2007 Oliver Schwarz
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* from, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* @package Utilities
* @author Oliver Schwarz <oliver.schwarz@gmail.com>
* @version 1.0
*/
/**
* Generating excel documents on-the-fly from PHP5
*
* Uses the excel XML-specification to generate a native
* XML document, readable/processable by excel.
*
* @package Utilities
* @subpackage Excel
* @author Oliver Schwarz <oliver.schwarz@vaicon.de>
* @version 1.0
*
* @todo Add error handling (array corruption etc.)
* @todo Write a wrapper method to do everything on-the-fly
*/
class MyClass_ExcelXML
{
/**


相关文档:

php 几种排序方式

1.冒泡排序
function m_sort($arr)
{
    $l = count($arr);
    if($l==0) return false;
  
    for($i=0;$i<$l-1;$i++)
    {
        for($j=$i+1;$j<$l-1;$j++)
     ......

给PHP加速,eAccelerator配置和使用指南


Show All   1 2 3 4 5
本文由Michael原创和整理,转载请保留出处!http://www.toplee.com/blog/?p=100
Trackback URL: http://www.toplee.com/blog/wp-trackback.php?p=100
对于本文中出现的错误导致您的损失,Michael不承担责任。
前一段时间完成了服务器从FreeBSD4.10到6.1的升级,同时把PHP也升级到了最新的 ......

redflag5.0安装Apache+MySQL+PHP实录

Linux配置APACHE2.2.4 + PHP5.2.1 + MYSQL5.0.37 + GD库
第一步:安装RedFlag Linux5.0
安装系统时请务必安装开发工具包和KDE开发工具包,WWW服务器和SQL服务器不要安装,否则可能会出现未知的错误。
第二步:确定linux系统是否安装gcc编译器
首先,GCC要有,不然什么都不能做.可以用gcc -v来查看是否安装了GCC,
#gcc - ......

PHP页面分页函数

 很久前些的一些文章,那时候技术还在初级阶段,在现在看来代码够烂的,但是人总是一步步走上来的,希望能给初学者一点鼓励了!
<?php
/*********************************************************
 filename:multi.php
 describe: 显示多于一页的链接
 function:分页显示模块
 auth ......

PHP向一个字符串随机添加文字

 很久前在baidu回答问题时写的“向一个字符串随机添加文字”的解决方案,可以支持中英文
<?php
/*********************************************************
 describe:字符串处理,可以处理中英文
 function:向一个字符串随机添加文字
 author:  etongchina
 email2m ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号