<?php /** 获取机器网卡的物理(MAC)地址 **/ class GetMacAddr { var $return_array = array(); // 返回带有M…
<?php // upload.php echo <<<_END <html><head><title>PHP Form…
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 session_start (); header ( 'Content-type: image/png' ); //创建图片 $im = imagecreate(…
/** * 图片缩放水印类 * */ class cls_photo { protected $waterrate = 0.2; //水印图标在图片上的比例 protected $…
/****************************** * 折线图生成函数 ******************************/ function line_st…
<?php include_once('PHPExcel.php'); //read excel file; $PHPExcel = new PHPExcel(); $PHP…