Copy the code The code is as follows:
/*
+---------------------------- -----------------------------------------------
| B- Check v0.05
| ==========================================
| Southern Chapter Three productions
| 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( );
//Usage 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
//Display switch
$mysqlReShow = "none";
//Performance information result 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 ";
}
The above introduces the physicians formula phpinfo system view parameter function code, including the contents of physicians formula. I hope it will be helpful to friends who are interested in PHP tutorials.