phpinfo system view parameter function code_PHP tutorial

WBOY
Release: 2016-07-21 15:45:58
Original
1207 people have browsed it

Copy code The code is as follows:

/*
+-------- -------------------------------------------------- ----------------
| B-Check v0.05
| ==================== ====================
| Southern Third Production
| http://www.zndown.com
| ===== ===================================
| Probe official: http://my.zndown .com/bugs/xuhao.php
| Last updated: 2009.2.2 ?11:01
| QQ:307292967
+----------------- -------------------------------------------------- --------

| During the writing process, I learned from many other excellent probes
| and made many modifications and optimizations based on my own understanding. For now, This is the PHP probe with the most comprehensive detection information!
| I wrote the entire execution framework wherever I thought without any reasonable planning. I think I will update it further when I have time in the future

+----- -------------------------------------------------- -------------------
*/
//Suppress all error messages
//session_start();
ini_set('display_errors ', 'off');
//Calculate page running time function
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$pagestartime=getmicrotime();
//Use notification
$messagex="From: http://" .$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']."nnVersion:".version;
$tox="307292967@qq.com";
$subjectx="B-check User ";
if(isset($_SESSION['user']))
{
mail($tox, $subjectx, $messagex);
}
//Reinitialize SESSION
$_SESSION['user']='lovehaoge';
//Display constants
define("on", "√");
define("off", "×");
define("version", "v0.05");//Version number
//Show switch
$mysqlReShow = "none";
//Performance information results Refresh
$ts_int = (false == empty($_POST['tsint']))?$_POST['tsint']:test_int();
$ts_float = (false == empty($_POST[ 'tsfloat']))?$_POST['tsfloat']:test_float();
$ts_io = (false == empty($_POST['tsio']))?$_POST['tsio']:test_io ();
if(isset($_POST['speed']))
{
$speed=round(100/($_POST['speed']/1000),2);
}
elseif($_GET['speed']=="0")
{
$speed=6666.67;
}
elseif(isset($_GET['speed'] ) and $_GET['speed']>0)
{
$speed=round(100/($_GET['speed']/1000),2);
}
else
{
$speed=" Not detected ";
}


php probe B-check official The latest version
http://www.jb51.net/codes/10292.html

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/320263.htmlTechArticleCopy the code as follows: ?php /* +-------------- -------------------------------------------------- ---------- | B-Check v0.05 | ================================ ======== | Third place in the South...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template