php 948

#PHP
PHP图片上传类(支持自定义路径、大小、文件名称、缩略图)

<?php class pic_upload{ var $FormName; //文件域名称 var $Directroy; //上传至目录 var $MaxSize; //…

2015-01-10 640

#PHP
php 日历类 日历控件

<?php class CalendarForm { protected $year; protected $month; protected $day; protected…

2015-01-10 364

#PHP
PHP获取客户端IP地址函数(兼容多种情况)

function get_client_ip() { if (getenv("HTTP_CLIENT_IP") && strcasecmp(ge…

2015-01-10 198

#PHP
php限制文件下载速度

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

2015-01-10 438

#PHP
php生成随机字符串函数(支持字母大小写,数字,中文)

/** +---------------------------------------------------------- * 产生随机字串, 可用来自动生成密码,验证码,表单…

2015-01-10 682

#PHP
FTP操作PHP类—拷贝、移动、删除文件/创建目录

<?php /** * 作用:FTP操作类( 拷贝、移动、删除文件/创建目录 ) * 时间:2006/5/9 * 作者:欣然随风 * QQ:276624915 */ clas…

2015-01-10 622

#PHP
php生成gif png jpeg缩略图

$file = JRequest::getVar( 'template_full_image', '', 'files', 'array' );//获得传过来的图片 jimport…

2015-01-10 683

#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 793

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

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

2015-01-10 170

#PHP
php选择排序例子

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

2015-01-10 183

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

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

2015-01-10 751

#PHP
php插入排序例子

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

2015-01-10 706
1 72 73 74 75 76 79