phpinfo 系統查看參數函數代碼_PHP教程

來源:互聯網
上載者:User
複製代碼 代碼如下:
/*
+--------------------------------------------------------------------------
| B-Check v0.05
| ========================================
| 南方第三製作
| http://www.zndown.com
| ========================================
| 探針官方:http://my.zndown.com/bugs/xuhao.php
| 最後更新: 2009.2.2 ?11:01
| QQ:307292967
+---------------------------------------------------------------------------

| 在編寫過程中,學習借鑒了很多其他優秀的探針
| 並根據自身的理解做了很多修改和最佳化,就當前而言,這是探測資訊最全面的PHP探針了!
| 整個執行架構,我是想到哪就寫到哪,並沒有進行合理的規劃,我想,在以後我有時間的時候會近一步更新

+--------------------------------------------------------------------------
*/
//抑制所有的錯誤資訊
//session_start();
ini_set('display_errors', 'off');
//計算頁面已耗用時間函數
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$pagestartime=getmicrotime();
//使用通知
$messagex="來自:http://".$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']."\n\n版本:".version;
$tox="307292967@qq.com";
$subjectx="B-check User";
if(isset($_SESSION['user']))
{
mail($tox, $subjectx, $messagex);
}
//重新初始化SESSION
$_SESSION['user']='lovehaoge';
//顯示常量
define("on", " ");
define("off", " ×");
define("version", " v0.05");//版本號碼
//顯示開關
$mysqlReShow = "none";
//效能資訊結果重新整理
$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=" 未探測 ";
}


php探針 B-check 官方最新版
http://www.jb51.net/codes/10292.html

http://www.bkjia.com/PHPjc/320263.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/320263.htmlTechArticle複製代碼 代碼如下: ?php /* +-------------------------------------------------------------------------- | B-Check v0.05 | ======================================== | 南方第三...

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.