php 948

#PHP
PHP分页类

<?php /** * 分页类 * * author lynnluo * addtime 2011-08-15 */ define( 'PAGE_NAME','page' )…

2015-01-13 505

#PHP
php 服务器限速代码

// local file that should be send to the client $local_file = 'test-file.zip'; // filename…

2015-01-13 541

#PHP
php 图片地址处理

php 图片地址处理 //图片地址处理 function Getpics($body) { global $weburl; //$body = strtolower($body);…

2015-01-12 803

#PHP
PHP实现冒泡算法

 冒泡算法 <?php function bubbleSort($ary){ $len = count($ary); for ($i=0; $i < $len…

2015-01-12 390

#PHP
验证码PHP类 支持数字,字母,汉字,混合

<?php // +------------------------------------------------------------------------ // 验…

2015-01-11 987

#PHP
php冒泡排序例子

$arr = array(3,5,-1,0,2); for($i=0;$i<count($arr)-1;$i++){ for($j=0;$j<count($arr)-1…

2015-01-10 789

#PHP
php选择排序例子

$arr=array(2,1,-1,3,0); for($i=0;$i<count($arr)-1;$i++){ $minval = $arr[$i]; $minindex …

2015-01-10 179

#PHP
PHP生成 中文验证码 汉字图片验证码

<?php Header("Content-type: image/PNG"); $str = "的一是在了不和有大这主中人上为们地个用工时要动…

2015-01-10 166

#PHP
php插入排序例子

$arr=array(2,1,-1,3,0); for($i=1;$i<count($arr);$i++){ $insertval=$arr[$i]; $insertinde…

2015-01-10 703

#PHP
PHP压缩zip文件 zip压缩文件创建类

<?php /* * Zip file creation class. * Makes zip files. * * Based on : * * http://www.ze…

2015-01-10 746

#PHP
php文件和图片上传类

<?php //文件和图片上传类 /* 使用方法: function _upload($upload_dir){ $upload = new UploadFile(); //…

2015-01-10 159

#PHP
PHP图片处理类 (水印图 缩略图 等比例压缩 裁剪压缩)

<?php /** * * 图像处理类 * @author FC_LAMP * @internal功能包含:水印,缩略图 */ class Img { //图片格式 priv…

2015-01-10 327
1 71 72 73 74 75 79