The phpinfo system displays the parameter function code. Copy the code as follows :? Php * + -------------------------------------------------------------------------- | B-Checkv0.05 | third in the South
The code is as follows:
/*
+ --------------------------------------------------------------------------
| B-Check v0.05
| ================================================ =
| China South 3
Http://www.zndown.com
| ================================================ =
| Official probe: http://my.zndown.com/bugs/xuhao.php
| Last update: 2009.2.2? 11: 01
| QQ: 307292967
+ ---------------------------------------------------------------------------
| Many other excellent probes have been used for reference during the compilation process.
| I made a lot of modifications and optimizations based on my own understanding. for now, this is the most comprehensive PHP probe information!
| I wrote the entire execution framework whenever I thought about it and didn't make reasonable planning. I think it will be updated in the near future when I have time.
+ --------------------------------------------------------------------------
*/
// Suppress all error messages
// Session_start ();
Ini_set ('display _ errors ', 'off ');
// Calculate the 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 ']. "\ n version :". version;
$ Tox = "307292967@qq.com ";
$ Subjectx = "B-check User ";
If (isset ($ _ SESSION ['user'])
{
Mail ($ tox, $ subjectx, $ messagex );
}
// Reinitialize the SESSION
$ _ SESSION ['user'] = 'lovehaog ';
// Display constants
Define ("on ","√");
Define ("off ","×");
Define ("version ","V0.05"); // Version number
// Display switch
$ MysqlReShow = "none ";
// Refresh the performance information result
$ Ts_int = (false = empty ($ _ POST ['tsint'])? $ _ POST ['tsint']: test_int ();
$ Ts_float = (false = empty ($ _ POST ['tsfloat'])? $ _ POST ['sfloat']: test_float ();
$ Ts_io = (false = empty ($ _ POST ['tci'])? $ _ POST ['tci']: 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 latest official version
Http://www.jb51.net/codes/10292.html
The http://www.bkjia.com/PHPjc/320263.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/320263.htmlTechArticle code is as follows :? Php/* + environment | B-Check v0.05 | ======================================== =============| South third...