<?php public function captcha(){ $font_dir = $_SERVER ["DOCUMENT_ROOT"] . &qu…
<?php /** * * This class for execute the external program of svn * * @auth Seven Yang &…
<?php header("content-type:text/html;charset=utf-8"); /** 此函数的作用是反转中文字符串 mb_s…
//判断类型 <?php if(strpos($_SERVER["HTTP_USER_AGENT"],"MSIE 8.0")) ech…
<?php // cookieClass // Copyright (C) 2005 JRSofty Programming. // http://jrsofty1.stin…
图片处理类.imagecls.php <?php /** 图片处理类 */ class imagecls { /** * 文件信息 */ var $file = array(…
/********************** *@filename - path to the image *@tmpname - temporary path to thumb…
//配合JavaScript的ajaxObject函数, 对字串进行转码. function ajax_encode($str){ $patern = array("/%…
<?php /********************************* * Code by Gently * 24/07/07 *严正声明:验证码为程序随机生成,“…
//获取源图gd图像标识符 $srcImg = imagecreatefrompng('./src.png'); $srcWidth = imagesx($srcImg); $sr…
function qsort(&$arr) { _quick_sort($arr, 0, count($arr) - 1); } /** * 采用递归算法的快速排序。 * …
<?php $prefix = ini_get('session.upload_progress.prefix'); $name = ini_get('session.upl…