php-cli下执行 windows下的运维工具,改成linux也很方便 用PHP获取IP与连接数,并获取IP所在地址,主要针对80端口,其他端口也能看到 开启反解ip可判断是否是…
function fileToArray($file) { if (!$array = file($file)) { die("fileToArray: Could no…
<?php $mime = array ( //applications 'ai' => 'application/postscript', 'eps' => '…
<?php interface Message { static function getType(); }; interface Observer { function n…
<?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("/%…